EGP Blockchain Transactions System
  1. external contracts
EGP Blockchain Transactions System
  • Overview
  • Our JavaScript/TypeSctipt SDK
  • users
    • Register a new user
      POST
    • Get user profile
      GET
    • Get user profile
      GET
    • Update user profile
      PUT
    • Delete user account
      DELETE
  • auth
    • Change password
      POST
    • Login
      POST
    • Logout
      POST
    • Refresh token
      POST
  • organizations
    • List organizations
      GET
    • Create a new organization
      POST
    • List organization balance wallets
      GET
    • Deploy a new OrganizationBalancesWalletUpgradeable contract
      POST
    • Update an organization balance wallet
      PATCH
    • Get an organization by ID
      GET
    • Update an organization
      PUT
    • Delete an organization
      DELETE
    • List organization members
      GET
    • Add a member to an organization
      POST
    • Remove a member from an organization
      DELETE
    • List all organizations in the system
      GET
  • API keys
    • List user's API keys
      GET
    • Generate a new API key with Vault storage
      POST
    • Get API key details
      GET
    • Revoke an API key
      DELETE
    • Update API key
      PATCH
  • wallets
    • List wallets
    • Create wallet
    • Get wallet details
    • Update wallet
    • Delete wallet
    • Get wallet balance
    • Sign wallet transaction
    • Get wallet statistics
    • Get wallet transactions
    • Get Solana Wallet History
  • transactions send
    • Commit and Send Approved Transaction
  • transactions approvals
    • List pending approvals
    • Approve transaction
    • Reject transaction
    • Request approval
    • List transaction approvals
    • Get approval
  • transactions create
    • Create transaction
    • Estimate transaction fee
    • Get transaction
    • Confirm transaction
  • transactions information
    • List transactions
    • Get transaction by hash
    • Get transaction status
    • Track external transaction
    • Get wallet transactions
    • Get transaction
    • Confirm transaction
  • contract deployment
    • List Contract Deployments
    • Deploy Contract
    • Get Deployment Status
  • contract interactions
    • Get Contract Function
    • Call Contract Function (Read)
    • Get Function Documentation
    • Update Function Documentation
    • Execute Contract Function
    • Submit Documentation Feedback
    • Get Contract ABI
    • Import Contract ABI
    • Call Contract Function By Name (Read)
    • Execute Contract Function By Name (Write)
    • List Contract Functions
    • List Interactions by Contract Address
    • Search Contracts and Functions
    • Generate Search Report
    • Get Interaction by Transaction Hash
    • Get Contract Interaction by ID
  • external contracts
    • Call External Contract Function
      POST
  • permissions
    • Assign role to organization user
    • Get organization user roles
    • Revoke role from organization user
    • List all permissions
    • List permissions by resource type
    • Assign permission to resource
    • Revoke permission from resource
    • List all roles
    • Create a new role
    • Get a role by ID
    • Update a role
    • Delete a role
    • Set transaction limit
    • Get transaction limits by role
    • Assign permission to user
    • Get user permissions
    • Revoke permission from user
    • Assign role to user
    • Get user roles
    • Revoke role from user
  1. external contracts

Call External Contract Function

POST
/contract/call_external_arbitrary
External Contracts
Executes a read-only (eth_call) function on an arbitrary external contract on a supported network.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://transactions.srblabs.io/api/v1/contract/call_external_arbitrary' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contractAddress": "string",
    "functionSignature": "string",
    "network": "string",
    "outputSignature": "string",
    "parameters": [
        null
    ]
}'
Response Response Example
200 - Example 1
{
    "decodedData": null,
    "errorMessage": "string",
    "rawResultHex": "string",
    "success": true
}

Request

Body Params application/json
contractAddress
string 
required
functionSignature
string 
required
network
string 
required
outputSignature
string 
optional
Optional: Signature of the expected outputs, e.g., "uint256,address"
parameters
array
optional
Parameters as an array of values
Examples

Responses

🟢200OK
application/json
Call successful, check 'decodedData' (if output signature provided/known) or 'rawResultHex'
Body
decodedData
optional
Decoded data if output signature was provided and decoding succeeded
errorMessage
string 
optional
Error message if success is false
rawResultHex
string 
optional
Raw hex result from eth_call
success
boolean 
optional
🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Modified at 2025-04-30 01:06:55
Previous
Get Contract Interaction by ID
Next
Assign role to organization user
Built with