Methods
build_trx
- build_trx(address, amount, fee_rate, policy_path?, utxos?, frozen_utxos?): Promise<Trx>
Parameters
- address: string
- amount: string
- fee_rate: string
Optional
policy_path: PolicyPathOptional
utxos: string[]Optional
frozen_utxos: string[]
Returns Promise<Trx>
finalize_trx
- finalize_trx(psbts, broadcast): Promise<FinalizeTrxResponse>
Parameters
- psbts: string[]
- broadcast: boolean
get_balance
- get_balance(): BalancePayload
Returns BalancePayload
get_fee
- get_fee(txid): Promise<{
fee: number;
}> Returns Promise<{
fee: number;
}>
get_last_unused_address
- get_last_unused_address(): string
Returns string
get_new_address
- get_new_address(): string
Returns string
get_policy
- get_policy(): Map<string, any>
Returns Map<string, any>
get_policy_path_from_signer
get_policy_paths_from_signers
get_unused_addresses
- get_unused_addresses(num): Address[]
has_timelock
- has_timelock(): boolean
Returns boolean
network
- network(): string
Returns string
sync
- sync(): Promise<void>
Returns Promise<void>