Movement

Deploy an ERC20 smart contract & mint on Xai mainnet through Xai Builder

Curated by

Sequence

ID Type

EVM ADDRESS

Cred Type

REST

Last Update Time

07/18/2024, 16:18:13

Method

POST

Header

{"X-Access-Key":"***"}

Endpoint

https://xai-indexer.sequence.app/***

Body

{
  "filter": {
   "accountAddress": "$address" },  "includeMetadata": true  
  }

Expression

function(resp) {
if (resp.transactions[0].transfers[0].contractInfo.bytecodeHash == "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e" && resp.transactions[0].transfers[0].contractType == "ERC20"
) {
  return 1
}
  return 0
}