Create Arianee Access Token
Digital Passport Scope - Create Arianee Access Token
URL
To create an Arianee Access Token, use https://custody.arianee.com/{{client}}/{{chainType}}/nft/createCertificateAccessToken
.
POST - https://custody.arianee.com/{{client}}/{{chainType}}/nft/createCertificateAccessToken
Body
Field | Type | Mandatory | Description |
---|---|---|---|
protocolName | String - testnet , mainnet , arianeetestnet , mumbai , polygon , arialabs , stadetoulousain , ysl , testnetSbt , arianeeSupernet , arianeesbt , tezostestnet , supernettestnet | โ | Protocol involved. Dig deeper into Arianee Protocols. |
smartAsset โ id | String | โ | Identification number of the digital passport. |
{
"protocolName": "testnet",
"smartAsset" : {
"id": "33491174"
}
}
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The Arianee Access Token is returned. |
{
"aat": "eyJ0eXAiOiJKV1QiLCJhbGciOiJzZWNwMjU2azEifQ==.eyJpc3MiOiIweDRmZWJiYTMzNDE1YWI0MTI1NmNiYzk4MWMxNzgyOTdmOTI2YTY0OTAiLCJzdWIiOiJjZXJ0aWZpY2F0ZSIsImV4cCI6MTcwMTg3NTIzMDk3MiwiaWF0IjoxNzAxODc0OTMwOTcyLCJzdWJJZCI6MzM0OTExNzQsIm5ldHdvcmsiOiJ0ZXN0bmV0In0=.0x7f463a5ca88d1ab8a3fbc9b8404f8fc1f400bfee3c6b653ce272c8153728ee2269daaf81af0ead3c053e7d5a2379e11f9ce896f99bc40d75e..."
}
Wallet Scope - Create Arianee Access Token
URL
To fetch the Arianee Access Token of your wallet, use https://custody.arianee.com/{{client}}/{{chainType}}/nft/createWalletAccessToken
.
GET - https://custody.arianee.com/{{client}}/{{chainType}}/nft/createWalletAccessToken
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The Arianee Access Token is returned. |
{
"aat": "eyJ0eXAiOiJKV1QiLCJhbGciOiJzZWNwMjU2azEifQ==.eyJpc3MiOiIweDRmZWJiYTMzNDE1YWI0MTI1NmNiYzk4MWMxNzgyOTdmOTI2YTY0OTAiLCJzdWIiOiJ3YWxsZXQiLCJleHAiOjE3MDE4NzQ4ODYwMDUsImlhdCI6MTcwMTg3NDU4NjAwNX0=.0x45e2cc41d695b3eedf9a6fe8b6f79df479b52dd3bde7b47f2e98b912119b371a1ef18c857f288ab7b0186151360f89d5441fb89a1d46..."
}
Updated 2 months ago