Smart Contract Search

Execute a read of a smart contract on a DLT

Takes a request ID and reads the smart contract on Ethereum based on the parameters specified in the prepare request.

SecurityOAuth2_Security_Scheme
Request
query Parameters
requestId
required
string [ 0 .. 36 ] characters ^[A-Za-z0-9-]{1,36}$
header Parameters
Authorization
required
string [ 0 .. 5010 ] characters ^Bearer [A-Za-z0-9\-_. ]{1,5010}$
Responses
200

All good!

401

Unauthorised

404

Not Found

500

Something went wrong on our side

post/v2/execution/search/smartcontract
Request samples
Response samples
application/json

Execute Response

{
  • "smartContract": {
    },
  • "location": {
    }
}

Prepare a read of a smart contract on a DLT

Returns a request ID for executing a smart contract read on Ethereum.

SecurityOAuth2_Security_Scheme
Request
header Parameters
Authorization
required
string [ 0 .. 5010 ] characters ^Bearer [A-Za-z0-9\-_. ]{1,5010}$
Request Body schema: application/json
object (SmartContractSearchRequestDetails)
object (Location)

Unique reference to the ledger on a particular ledger network (optionally accessed from a particular node)

Responses
200

All good!

401

Unauthorised

500

Something went wrong on our side

post/v2/preparation/search/smartcontract
Request samples
application/json

Smart Contract Search

{
  • "requestDetails": {
    },
  • "location": {
    }
}
Response samples
application/json

Prepare Response

{
  • "gatewayFee": {
    },
  • "requestId": "13765b06-eaf3-4f02-acb4-b7e9da8b0380"
}

Prepare and automatically execute a search for a smart contract query on a DLT.

Generates a request ID and automatically executes the smart contract query search on the requested DLT.

SecurityOAuth2_Security_Scheme
Request
header Parameters
Authorization
required
string [ 0 .. 5010 ] characters ^Bearer [A-Za-z0-9\-_. ]{1,5010}$
Request Body schema: application/json
object (Location)

Unique reference to the ledger on a particular ledger network (optionally accessed from a particular node)

Responses
200

All good!

400

Bad Request

401

Unauthorised

500

Something went wrong on our side

post/v2/autoexecution/search/smartcontract
Request samples
application/json

Smart contract query Search

{
  • "location": {
    }
}
Response samples
application/json

Successful Prepare and Failed Execute Response

{
  • "prepareAndExecuteOverledgerErrorResponse": {
    },
  • "preparationSmartContractSearchResponse": {
    }
}