Funding

type FundingBuilder

constructor

/**
* @param {number} account_id
* @param {number} sub_account_id
* @param {number} sub_account_nonce
* @param {Uint32Array} funding_account_ids
* @param {string} fee
* @param {number} fee_token
*/
FundingBuilder(account_id, sub_account_id, sub_account_nonce, funding_account_ids, fee, fee_token)

type Funding

Funding transaction type.

constructor

/**
* @param {FundingBuilder} builder
*/
newFunding(builder)

func sign

/**
* @param {ZkLinkSigner} signer
* @returns {any}
*/
sign(signer)

Sign transaction with given ZkLinkSigner

Last updated