Get the names of the mappings in a program for the given program ID.
Last updated 9 months ago
GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/{programID}/mappings
programID
string
Yes
The program id of the requested mappings
result
The requested mapping names
curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/token.aleo/mappings
curl https://api.data123.io/aleo/<API KEY>/rpc/v1/testnet3 \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"getMappingNames","params":['{programID}'],"id":1}'