Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Trx(bitgo: BitGo, staticsCoin: Readonly<StaticsBaseCoin>): Trx

Accessors

type

  • get type(): string

Static coinTokenPatternSeparator

  • get coinTokenPatternSeparator(): string

Methods

baseUnitsToBigUnits

  • baseUnitsToBigUnits(baseUnits: string | number): string
  • Convert a currency amount represented in base units (satoshi, wei, atoms, drops, stroops) to big units (btc, eth, rmg, xrp, xlm)

    Parameters

    • baseUnits: string | number

    Returns string

bigUnitsToBaseUnits

  • bigUnitsToBaseUnits(bigUnits: string | number): string
  • Convert a currency amount represented in big units (btc, eth, rmg, xrp, xlm) to base units (satoshi, wei, atoms, drops, stroops)

    Parameters

    • bigUnits: string | number

    Returns string

deriveKeyWithSeed

  • deriveKeyWithSeed(__namedParameters: object): object
  • Derive a hardened child public key from a master key seed using an additional seed for randomness.

    Due to technical differences between keypairs on the ed25519 curve and the secp256k1 curve, only hardened private key derivation is supported.

    Parameters

    • __namedParameters: object

    Returns object

enterprises

feeEstimate

generateKeyPair

  • generateKeyPair(seed?: Buffer): KeyPair

getBaseFactor

  • getBaseFactor(): number

getChain

  • getChain(): string

getCoinLibrary

  • getCoinLibrary(): any
  • Get an instance of the library which can be used to perform low-level operations for this coin

    Returns any

getExtraPrebuildParams

getFamily

  • getFamily(): CoinFamily

getFullName

  • getFullName(): string

initiateRecovery

isValidAddress

  • isValidAddress(address: string): boolean

isValidMofNSetup

  • isValidMofNSetup(__namedParameters: object): boolean

isValidPub

  • isValidPub(pub: string): boolean

isValidXpub

  • isValidXpub(xpub: string): boolean

keyIdsForSigning

  • keyIdsForSigning(): number[]

keychains

markets

newWalletObject

  • newWalletObject(walletParams: any): Wallet

parseTransaction

pendingApprovals

postProcessPrebuild

preCreateBitGo

presignTransaction

signMessage

  • signMessage(key: KeyPair, message: string | Buffer): Buffer

signTransaction

supplementGenerateWallet

supportsBlockTarget

  • supportsBlockTarget(): boolean

toHexString

  • toHexString(message: string | Buffer): string
  • Convert a message to string in hexadecimal format.

    Parameters

    • message: string | Buffer

      message to sign

    Returns string

    the message as a hexadecimal string

transactionDataAllowed

  • transactionDataAllowed(): boolean

url

  • url(suffix: string): string

valuelessTransferAllowed

  • valuelessTransferAllowed(): boolean

verifyAddress

verifyRecoveryTransaction

verifyTransaction

wallets

webhooks

Static createInstance

  • createInstance(bitgo: BitGo, staticsCoin: Readonly<StaticsBaseCoin>): BaseCoin

Generated using TypeDoc