Add a webhook to this wallet
List the addresses for a given wallet
Get the number of approvals required for spending funds from this wallet
Get the current balance of this wallet
Get a string representation of the balance of this wallet
This is useful when balances have the potential to overflow standard javascript numbers
Change the fee on the pending transaction that corresponds to the given txid to the given new fee
The transaction ID of the new transaction that contains the new fee rate
Get the coin identifier for the type of coin this wallet holds
Get wallet properties which are specific to certain coin implementations
Get the confirmed balance of this wallet
Get a string representation of the confirmed balance of this wallet
This is useful when balances have the potential to overflow standard javascript numbers
Consolidate unspents on a wallet
parameters object
txHex {String} the txHex of the incomplete transaction that needs to be signed by the user in the SDK
Create one or more new address(es) for use with this wallet.
If the count
field is defined and greater than 1, an object with a single
array property named addresses
containing count
address objects
will be returned. Otherwise, a single address object is returned.
Create a policy rule
Send an encrypted wallet share to BitGo.
Creates and downloads PDF keycard for wallet (requires response from wallets.generateWallet)
Note: this is example code and is not the version used on bitgo.com
Fanout unspents for a wallet
parameters object
txHex {String} the txHex of the incomplete transaction that needs to be signed by the user in the SDK
Freeze a given wallet
Get a single wallet address by its id
Gets the user key chain for this wallet
The user key chain is the first keychain of the wallet and usually has the encrypted prv stored on BitGo. Useful when trying to get the users' keychain from the server before decrypting to sign a transaction.
Get transaction metadata for the oldest transaction that is still pending or attempted
Object with txid, walletId, tx, and fee (if supported for coin)
Fetch info from merchant server
The params passed into the function
The info returned from the merchant server
Gets the unencrypted private key for this wallet (be careful!) Requires wallet passphrase
List the transactions for a given wallet
Get transfers on this wallet
Get the user private key from either a derivation or an encrypted keychain
Get this wallet's id
Get the public object ids for the keychains on this wallet.
Get the label (name) for this wallet
List webhooks on this wallet
Get the maximum amount you can spend in a single transaction
parameters object
NOTE : feeTxConfirmTarget omitted on purpose because gauging the maximum spendable amount with dynamic fees does not make sense
Get the wallet id of the wallet that this wallet was migrated from.
For example, if this is a BCH wallet that was created from a BTC wallet, the BCH wallet migrated from field would have the BTC wallet id.
Get all pending approvals on this wallet
Get a transaction prebuild from BitGo, validate it, and then decrypt the user key and sign the transaction
Fetch a transaction prebuild (unsigned transaction) from BitGo
Get a receive address for this wallet
Recover an unsupported token from a BitGo multisig wallet params are validated in Eth.prototype.recoverToken
Refresh the wallet object by syncing with the back-end
Remove this wallet
Remove Policy Rule
Remove user from wallet
Remove a webhook from this wallet
Send coins to a recipient
Send money to multiple recipients
Send json payment response
The params passed into the function
The info returned from the merchant server Payment Ack
Update a policy rule
Share this wallet with another BitGo user.
Sign a transaction
Simulate wallet webhook, currently for webhooks of type transfer and pending approval
Get the spendable balance of this wallet
Get a string representation of the spendable balance of this wallet
This is useful when balances have the potential to overflow standard javascript numbers
Submit a half-signed transaction to BitGo
Sweep funds for a wallet
parameters object
txHex {String} the txHex of the signed transaction
Create a trading account from this wallet
Return the token flush thresholds for this wallet
pairs of { [tokenName]: thresholds } base units
List the transactions for a given wallet
Get a transaction by sequence id for a given wallet
Update comment of a transfer
List the transfers for a given wallet
List the unspents for a given wallet
Update properties on an address
Set the token flush thresholds for the wallet. Updates the wallet. Tokens will only be flushed from forwarder contracts if the balance is greater than the threshold defined here.
pairs of { [tokenName]: threshold } (base units)
Build a URL using this wallet's id which can be used for BitGo API operations
API specific string to append to the wallet id
Generated using TypeDoc
Accelerate a transaction's confirmation using Child-Pays-For-Parent (CPFP)