Used to retrieve a MACRO Score for a given token ID.
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | API_KEY | An API key that can be obtained from the data provider's dashboard | ||
✅ | ETHEREUM_RPC_URL | Ethereum RPC URL | ||
✅ | NFC_ADDRESS | Address of the NFC contract | ||
API_ENDPOINT | MACRO Score API Endpoint | https://xzff24vr3m.execute-api.us-east-2.amazonaws.com/default |
Default endpoint used to retrieve a MACRO Score for a given token ID.
Required? | Name | Description | Options | Defaults to |
---|---|---|---|---|
✅ | tokenIdInt |
The tokenID for the user as an integer value | ||
✅ | tickSet |
The set of ticks used to compute the MACRO Score as in integer value |
{
"id": "278c97ffadb54a5bbb93cfec5f7b5503",
"data": {
"tokenIdInt": "106006608980615540182575301024074047146897433631717113916135614816662076801843",
"tickeSet": "1"
}
}
{
"jobRunID": "278c97ffadb54a5bbb93cfec5f7b5503",
"data": {
"result": 1 // this will be the resulting MACRO Score tick
},
"statusCode": 200
}