Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TxCodec

TxCodec knows how to convert Transactions to bytes for a given blockchain

Hierarchy

Implemented by

Index

Properties

bytesToPost

bytesToPost: function

bytesToPost includes the raw transaction appended with the various signatures

Type declaration

bytesToSign

bytesToSign: function

they often include nonce and chainID, but not other signatures

Type declaration

identifier

identifier: function

identifier is usually some sort of hash of bytesToPost, chain-dependent

Type declaration

identityToAddress

identityToAddress: function

chain-dependent way to calculate address from a public key

Type declaration

isValidAddress

isValidAddress: function

chain-dependent validation of address

Type declaration

    • (address: string): boolean
    • Parameters

      • address: string

      Returns boolean

parseBytes

parseBytes: function

parseBytes will recover bytes from the blockchain into a format we can use

Type declaration

Generated using TypeDoc