# Bytom2.0 API Update

Only API update instructions are provided here. Please refer to API chapter for specific API contents

# Reserved API

This part retains the API of Bytom1.0 and has not been changed.

  • create-key
  • list-keys
  • update-key-alias
  • delete-key
  • check-key-password
  • reset-key-password
  • create-account
  • list-accounts
  • update-account-alias
  • delete-account
  • create-account-receiver
  • list-addresses
  • validate-address
  • get-mining-address
  • set-mining-address
  • list-pubkeys
  • create-asset
  • get-asset
  • list-assets
  • update-asset-alias
  • list-balances
  • list-unspent-outputs
  • backup-wallet
  • restore-wallet
  • rescan-wallet
  • recovery-wallet
  • wallet-info
  • sign-message
  • decode-program
  • get-transaction
  • list-transactions
  • build-transaction
  • build-chain-transactions
  • sign-transaction
  • sign-transactions
  • submit-transaction
  • submit-transactions
  • estimate-transaction-gas
  • create-access-token
  • list-access-tokens
  • delete-access-token
  • check-access-token
  • create-transaction-feed
  • get-transaction-feed
  • list-transaction-feeds
  • delete-transaction-feed
  • update-transaction-feed
  • get-unconfirmed-transaction
  • list-unconfirmed-transactions
  • decode-raw-transaction
  • get-block-count
  • get-block-hash
  • get-block
  • get-block-header
  • net-info
  • is-mining
  • set-mining
  • gas-rate
  • verify-message
  • list-peers
  • disconnect-peer
  • connect-peer
  • get-vote-result

# Obsolete API

Bytom 2.0 will no longer support these API

  • get-coinbase-arbitrary
  • set-coinbase-arbitrary
  • get-difficulty
  • get-hash-rate
  • compile
  • get-work
  • submit-work
  • get-work-json
  • submit-work-json

# New API

  • list-account-votes
  • get-vote-result
  • create-contract
  • update-contract-alias
  • get-contract
  • list-contracts

# Updated API

Bytom2.0 will use the same name,but the parameters and return values of the API have been modified

  • net-info
Last Updated: 7/28/2021, 5:47:49 PM