Aptos

Overview

Aptos (APT) is the native asset of the Aptos blockchain. It utilizes:

  • Account model
  • EdDSA signature algorithm

Aptos (APT) is a Layer-1 blockchain designed for high scalability, security, and efficiency. It leverages the Move programming language to enhance smart contract safety and performance. Aptos aims to provide a high-throughput, low-latency blockchain for decentralized applications (dApps), DeFi, NFTs, and institutional use cases.

Explorer

https://explorer.aptoslabs.com/

Wallets Types

BitGo enables holding Aptos in the following wallet types:

Multisig ColdMultisig HotMPC ColdMPC Hot
Custody
Self-Custody

Ticker Symbols

MainnetTestnet
apttapt

Units

The smallest unit of APT (Aptos native coin) is called an "Octa".

  • 1 APT = 10^8 (100,000,000) Octas
  • 1 Octa = 0.00000001 APT

You can pass balances in string or integer format. However, BitGo recommends using string format to ensure values don't exceed the programmable number limit.

Tokens

The Aptos blockchain natively support tokens.

Fees

Every APT transaction-whether involving tokens or native coin, and whether a withdrawal or consolidation—must pay a gas fee. This fee is determined by both the execution & IO costs and storage costs.

APT wallets at BitGo utilize a Gas Tank to cover transaction fees as the designated fee payer. Total fee would be calculated based on the gas used * gas unit price where gas used would always be less than max gas amount which is currently set at 5000.

Create Wallet

  • cURL
  • JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 export BITGO_EXPRESS_HOST="<YOUR_LOCALHOST>" export COIN="tapt" export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>" export LABEL="<DESIRED_WALLET_NAME>" export PASSPHRASE="<YOUR_BITGO_LOGIN_PASSPHRASE>" export ENTERPRISE_ID="<YOUR_ENTERPRISE_ID>" curl -X POST \ http://$BITGO_EXPRESS_HOST:3080/api/v2/$COIN/wallet/generate \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d '{ "label": "'"$LABEL"'", "passphrase": "'"$PASSPHRASE"'", "enterprise": "'"$ENTERPRISE_ID"'", }'

Create Address

Apt does not require a minimum balance for receiving addresses. However, an additional cost is incurred for on-chain address initialization. The first deposit to a new address includes an extra fee for on-chain account creation.

  • cURL
  • JavaScript
1 2 3 4 5 6 7 8 export COIN="tapt" export WALLET_ID="<YOUR_WALLET_ID>" export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>" curl -X POST \ https://app.bitgo-test.com/api/v2/$COIN/wallet/$WALLET_ID/address \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ACCESS_TOKEN"

Consolidate Balance

Consolidation Transfer Fee Source: Aptos Gas Tank

To consolidate your receive address balances into the root address, enter the coin as APT, or an APT Token (apt:usdt).

  • cURL
  • JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 export BITGO_EXPRESS_HOST="<YOUR_LOCALHOST>" export COIN="tapt" export WALLET_ID="<YOUR_WALLET_ID>" export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>" export ADDRESS_1="<DESTINATION_ADDRESS_1>" export ADDRESS_2="<DESTINATION_ADDRESS_2>" export WALLET_PASSPHRASE="<YOUR_WALLET_PASSPHRASE>" curl -X POST \ http://$BITGO_EXPRESS_HOST:3080/api/v2/$COIN/wallet/$WALLET_ID/consolidateAccount \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d '{ "consolidateAddresses": [ { "address": "'"$ADDRESS_1"'" }, { "address": "'"$ADDRESS_2"'" } ], "walletPassphrase": "'"$WALLET_PASSPHRASE"'" }'

Estimate Fee

Transaction gas usage can be estimated by simulating it on-chain using the Estimation Gas Fee API, which executes the intended transaction at the blockchain’s current state. The simulation provides an exact gas requirement at that moment, but usage may fluctuate as the chain state changes. Therefore, simulations serve as estimates rather than fixed values.

Transact

Withdrawal Fee Source: Aptos Gas Tank

  • cURL
  • JavaScript
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 export BITGO_EXPRESS_HOST="<YOUR_LOCALHOST>" export COIN="tapt" export WALLET_ID="<YOUR_WALLET_ID>" export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>" export ADDRESS="<DESTINATION_ADDRESS>" export AMOUNT="<AMOUNT_IN_BASE_UNITS>" export WALLET_PASSPHRASE="<YOUR_WALLET_PASSPHRASE>" curl -X POST \ http://$BITGO_EXPRESS_HOST:3080/api/v2/$COIN/wallet/$WALLET_ID/sendmany \ -H 'Content-Type: application/json' \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d '{ "recipients": [ { "address": "'"$ADDRESS"'", "amount": "'"$AMOUNT"'" }, ], "walletPassphrase": "'"$WALLET_PASSPHRASE"'" }'

Stake

Coming Soon