Skip to main content Link Menu Expand (external link) Document Search Copy Copied

TransferBtcKMS

Model getters

Method name Return type Description Notes
getSenderAccountId() string Sender account ID
Example: 5e68c66581f2ee32bc354087
 
getAddress() string Blockchain address to send assets to. For BTC, LTC, DOGE and BCH, it is possible to enter list of multiple recipient blockchain addresses as a comma separated string.
Example: mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7
 
getAmount() string Amount to be withdrawn to blockchain.
Example: 0.001
 
getCompliant() bool Compliance check, if withdrawal is not compliant, it will not be processed.
Example: false
[optional]
getFee() string Fee to be submitted as a transaction fee to blockchain. If none is set, default value of 0.0005 BTC is used. Minimum fee is 0.00001 BTC.
Example: 0.0005
[optional]
getMultipleAmounts() string[] For BTC, LTC, DOGE and BCH, it is possible to enter list of multiple recipient blockchain amounts. List of recipient addresses must be present in the address field and total sum of amounts must be equal to the amount field.
Example: null
[optional]
getAttr() string Used to parametrize withdrawal as a change address for left coins from transaction. XPub or attr must be used.
Example: null
[optional]
getSignatureId() string Signature hash of the mnemonic, which will be used to sign transactions locally. All signature Ids should be present, which might be used to sign transaction. Tatum KMS does not support keyPair type of off-chain transaction, only mnemonic based.
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getXpub() string Extended public key (xpub) of the wallet associated with the accounts. Should be present, when mnemonic is used.
Example: xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid
 
getPaymentId() string Identifier of the payment, shown for created Transaction within Tatum sender account.
Example: 1234
[optional]
getSenderNote() string Note visible to owner of withdrawing account
Example: Sender note
[optional]