@coinbase/coinbase-sdk
Advanced tools
Changelog
[0.7.0] - 2024-09-26
deployNFT
method to WalletAddress
and Wallet
to deploy an ERC721, updated SmartContract
class to support deployment and fetching contract detailsdeployMultiToken
method to WalletAddress
and Wallet
to deploy an ERC1155, updated SmartContract
class to support deployment and fetching contract detailscreateWebhook
method to Wallet
to deploy a wallet activity webhook, updated Webhook
class to disallow users from specifying webhook signature. Webhook signature is now generated by the API.Changelog
[0.6.1] - 2024-09-23
src/index
Changelog
[0.6.0] - 2024-09-18
deployToken
method to WalletAddress
and Wallet
to deploy an ERC20, updated SmartContract
class to support deployment and fetching contract detailsAsset#toAtomicAmount
now returns a BigInt instead of a DecimalChangelog
[0.5.1] - 2024-09-12
Changelog
[0.5.0] - 2024-09-11
Coinbase.configure
method to allow for configuration of the SDK and marked constructor as deprecated.CreateContractInvocationOptions
to set amount for payable contract method invocationsStakingRewardFormat
enum to allow for specifying the format in which staking rewards should be returned.Changelog
[0.4.0] - 2024-09-06
getDefaultAddress
wallet method updated to return a promise, and getAddress
wallet methods now return a promise and WalletAddress
instead of Address
. Both functions will now fetch addresses for the wallet if they haven't been loaded.Changelog
[0.3.0] - 2024-09-05
WalletAddress
Changelog
[0.2.0]
InternalError
Changelog
[0.1.1] - 2024-08-27
listHistoricalBalances
method was parsing conventional ETH balances instead of atomic unitsChangelog
[0.1.0] - 2024-08-22
listHistoricalBalances
wallet method, that lists the historical balances for the wallet's default address.isTerminalState
, isFailedState
and isCompleteState
.createTransfer
and createTrade
functions no longer wait for the transactions to confirm or
fail on-chain.
Transfer
and Trade
object respectively, which support the wait
function, e.g. await transfer.wait()
.reload()
method to work with both External and Wallet address.createStakingOperation
logic to make sure we only pull in newer unsigned txs from the server.
This is especially important for External Address use-case where tx signing and broadcast status is maintained on client side, and we risk overwriting the existing txs.createStakingOperation
to 10 min.