EGP NFT Interaction Service
  1. EVM Contract Interactions
EGP NFT Interaction Service
  • Overview
  • EVM Contract Interactions
    • Get Stored Contract ABI
      GET
    • Delete Contract Registration
      DELETE
    • Get All Registered Contracts
      GET
    • Register Contract
      POST
  • EVM & SPL Contract Subscription
    • Subscribe to Contract Events / Monitor Solana Collection
      GET
  • SPL DAS API
    • Get Solana Asset (DAS)
      GET
    • Get Solana Asset Batch (DAS)
      POST
    • Get Solana Asset Proof (DAS)
      GET
    • Get Solana Asset Proof Batch (DAS)
      POST
    • Get Solana Assets By Authority (DAS)
      GET
    • Get Solana Assets By Creator (DAS)
      GET
    • Get Solana Assets By Group (DAS)
      GET
    • Get Solana Assets By Owner (DAS)
      GET
    • Get Solana NFT Editions (DAS)
      GET
    • Get Solana Signatures For Asset (DAS)
      GET
    • Get Solana Token Accounts (DAS)
      GET
    • Search Solana Assets (DAS)
      GET
  1. EVM Contract Interactions

Register Contract

POST
/api/v1/nftcontract/register
Registers a new contract by fetching its ABI from a block explorer and storing it.

Request

Body Params application/json

Examples

Responses

🟢201Created
application/json
Contract registered successfully
Body

🟠400Bad Request
🟠404Record Not Found
🟠409409
🟠422Parameter Error
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://egpnfts.srblabs.io/api/v1/nftcontract/register' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contractAddress": "string",
    "network": "POLYGON",
    "organizationid": "string",
    "userid": "string"
}'
Response Response Example
201 - Example 1
{
    "data": null,
    "error": "string",
    "success": true
}
Modified at 2025-05-01 04:52:40
Previous
Get All Registered Contracts
Next
Subscribe to Contract Events / Monitor Solana Collection
Built with