Get Mapping Names
Get the names of the mappings in a program for the given program ID.
ENDPOINT
GET https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/{programID}/mappingsArguments
Parameter
Type
Request
Description
programID
string
Yes
The program id of the requested mappings
Response
Parameter
type
Description
Request
curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/program/token.aleo/mappingscurl 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}'Last updated