Skip to main content
POST
/
api
/
v1
/
contract-interactions
/
network
/
{network}
/
contract-address
/
{contractAddress}
/
functions
/
write
Write Call Function
curl --request POST \
  --url https://sandbox.oumla.com/api/v1/contract-interactions/network/{network}/contract-address/{contractAddress}/functions/write \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "addressId": "<string>",
  "clientShare": "<string>",
  "abiFunction": {},
  "amount": "<string>",
  "feeLevel": "<string>"
}
'
{
"result": {
"workflowId": "<string>",
"status": "<string>"
}
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your API key from the dashboard.

Headers

x-sdk-version
string
default:1.0.0

SDK version header

Path Parameters

network
enum<string>
required

Network

Available options:
tBTC,
tETH,
AVAX,
FUJI,
SANDBOX
contractAddress
string
required

Contract address

Body

application/json

Request body for write call function

Write call function request object

addressId
string
required
clientShare
string
required
abiFunction
object
required
amount
string
feeLevel
string

Response

Write function workflow started

result
object