Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "proto-serialize"

Index

Functions

Const dataEntryToProto

  • dataEntryToProto(de: DataTransactionEntry): IDataEntry

orderToProtoBytes

  • orderToProtoBytes(obj: ExchangeTransactionOrder): Uint8Array

protoBytesToOrder

  • protoBytesToOrder(bytes: Uint8Array): (ExchangeTransactionOrderData<string | number> & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { eip712Signature?: undefined | string; priceMode: "fixedDecimals" | "assetDecimals"; senderPublicKey?: undefined | string } & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { eip712Signature?: undefined | string; priceMode: "fixedDecimals" | "assetDecimals"; senderPublicKey?: undefined | string } & { version: Version } & { proofs: Array<string> } & WithChainId)
  • Parameters

    • bytes: Uint8Array

    Returns (ExchangeTransactionOrderData<string | number> & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { version: Version } & { proofs: Array<string> } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { eip712Signature?: undefined | string; priceMode: "fixedDecimals" | "assetDecimals"; senderPublicKey?: undefined | string } & { version: Version } & { signature: string } & WithChainId) | (ExchangeTransactionOrderData<string | number> & { matcherFeeAssetId: string | null } & { eip712Signature?: undefined | string; priceMode: "fixedDecimals" | "assetDecimals"; senderPublicKey?: undefined | string } & { version: Version } & { proofs: Array<string> } & WithChainId)

protoBytesToSignedTx

  • protoBytesToSignedTx(bytes: Uint8Array): TTx

protoBytesToTx

protoTxDataToTx

Const scriptToProto

  • scriptToProto(s: string): Uint8Array | null

Const signedTxToProto

  • signedTxToProto(t: TTx): ISignedTransaction

signedTxToProtoBytes

  • signedTxToProtoBytes(obj: TTx): Uint8Array

Const txToProto

  • txToProto(t: Exclude<TTransaction, GenesisTransaction>): ITransaction

txToProtoBytes

Generated using TypeDoc