Create a call contract request
This endpoint creates an outgoing call contract request. Required role: RequestCreator or ContractCaller. This API can be made idempotent by generating an ID for the Request beforehand and passing it as the externalRequestId attribute
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
fromAddressId
toWhitelistedAddressId
method
gasLimit
gasPriceLimit
comment
contractType
amount
Amount in the smallest currency unit, based on the currency decimals. Example: 1500000000000000000 WEI (smallest ETH unit) corresponds to 1.5 ETH (ETH has 18 decimals places)
feePayerId
feeLimit
call
transactionReference
Deprecated: use externalRequestId instead
externalRequestId
Identifier for the request in the user's system. This must be unique. Attempting to create a request with an existing externalRequestId will do nothing and return the originally created request
Response
A successful response.
result
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error