⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

tables_item

Endpoint

POST /v1/tables/{table_handle}/item

Request

Path Parameters

NameTypeRequiredDescription
table_handlestringYesTable handle address

Request Body

{
"key_type": "0x1::string::String",
"value_type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
"key": "some-key"
}

Example

curl -s -X POST "https://api-aptos-mainnet.n.dwellir.com/YOUR_API_KEY/v1/tables/0xabc/item" \
-H "Content-Type: application/json" \
-d '{"key_type":"0x1::string::String","value_type":"0x1::string::String","key":"foo"}'