Functions
addProof
-
Parameters
-
-
proof: string
-
Optional index: undefined | number
Const base64Prefix
- base64Prefix(str: string | null): null | string
-
Parameters
Returns null | string
chainIdFromRecipient
- chainIdFromRecipient(recipient: string): number
-
Parameters
Returns number
convertToPairs
-
Parameters
Returns [string | TPrivateKey, number | undefined][]
fee
-
Parameters
Returns string | number
getSenderPublicKey
- getSenderPublicKey(seedsAndIndexes: [string | TPrivateKey, undefined | number][], params: Partial<WithSender>): string
-
Parameters
-
seedsAndIndexes: [string | TPrivateKey, undefined | number][]
-
Returns string
Const isOrder
- isOrder(p: any): p is ExchangeTransactionOrder & WithProofs & WithSender
-
Parameters
Returns p is ExchangeTransactionOrder & WithProofs & WithSender
Const mapObj
- mapObj<T, U, K>(obj: Record<K, T>, f: (v: T) => U): Record<K, U>
-
Type parameters
Parameters
-
obj: Record<K, T>
-
f: (v: T) => U
Returns Record<K, U>
networkByte
- networkByte(p: number | string | undefined, def: number): number
-
Parameters
-
p: number | string | undefined
-
def: number
Returns number
normalizeAssetId
- normalizeAssetId(assetId: string | null): null | string
-
Parameters
Returns null | string