Contracts

Get Contract ABI for Verified Contract Source Codes

Returns the Contract Application Binary Interface ( ABI ) of a verified smart contract.

https://api-xdc.blocksscan.io/api
   ?module=contract
   &action=getabi
   &address=0xff7412ea7c8445c46a8254dfb557ac1e48094391
   &apikey=YourApiKeyToken

Query Parameters

Get Contract Source Code for Verified Contract Source Codes

Returns the Solidity source code of a verified smart contract.

https://api-xdc.blocksscan.io/api
   ?module=contract
   &action=getsourcecode
   &address=0x5d5f074837f5d4618b3916ba74de1bf9662a3fed
   &apikey=YourApiKeyToken 

Query Parameters

Get Contract Creator and Creation Tx Hash

Returns a contract's deployer address and transaction hash it was created, up to 5 at a time.

https://api-xdc.blocksscan.io/api
   ?module=contract
   &action=getcontractcreation
   &contractaddresses=0x5d5f074837f5d4618b3916ba74de1bf9662a3fed,0xc280ebcd651d2a0c8d4bb49151062c9eef55d370,0x0e11710aad67e7427cfbc12c353284c2e335f62c,0xd4b5f10d61916bd6e0860144a91ac658de8a1437,0xefe58dba778b3a019856ce1af627235c818a3198
   &apikey=YourApiKeyToken 

Query Parameters

Last updated