EGP Blockchain Transactions System
  1. contract interactions
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
    • Create a new organization
    • List organization balance wallets
    • Deploy a new OrganizationBalancesWalletUpgradeable contract
    • Update an organization balance wallet
    • Get an organization by ID
    • Update an organization
    • Delete an organization
    • List organization members
    • Add a member to an organization
    • Remove a member from an organization
    • List all organizations in the system
  • API keys
    • List user's API keys
    • Generate a new API key with Vault storage
    • Get API key details
    • Revoke an API key
    • Update API key
  • 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
      GET
    • Call Contract Function (Read)
      POST
    • Get Function Documentation
      GET
    • Update Function Documentation
      PUT
    • Execute Contract Function
      POST
    • Submit Documentation Feedback
      POST
    • Get Contract ABI
      GET
    • Import Contract ABI
      POST
    • Call Contract Function By Name (Read)
      GET
    • Execute Contract Function By Name (Write)
      POST
    • List Contract Functions
      GET
    • List Interactions by Contract Address
      GET
    • Search Contracts and Functions
      GET
    • Generate Search Report
      POST
    • Get Interaction by Transaction Hash
      GET
    • Get Contract Interaction by ID
      GET
  • external contracts
    • Call External Contract Function
  • 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. contract interactions

Call Contract Function By Name (Read)

GET
/contracts/{contractAddress}/call-by-name/{functionName}
Contract Interactions
Executes a read-only (view/pure) function specified by name on a contract using eth_call.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://transactions.srblabs.io/api/v1/contracts//call-by-name/'
Response Response Example
400 - Example 1
{
    "error": "Invalid request: wallet_id is required",
    "message": "Details about the error",
    "success": false
}

Request

Path Params
contractAddress
string 
required
Contract Address
functionName
string 
required
Function Name

Responses

🟠400Bad Request
application/json
Invalid address, function name, or request parameters
Body
error
string 
optional
Example:
Invalid request: wallet_id is required
message
string 
optional
Example:
Details about the error
success
boolean 
optional
Example:
false
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2025-04-30 01:06:55
Previous
Import Contract ABI
Next
Execute Contract Function By Name (Write)
Built with