POST
/
transactions
/
custom
curl --request POST \
  --url https://protocol-sandbox.lumx.io/v2/transactions/custom \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "contractAddress": "0xa7Cb3EF2e19bCAA7C765370c39d7a06ea5595D08",
  "operations": [
    {
      "functionSignature": "<string>",
      "argumentsValues": [],
      "messageValue": 0
    }
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "walletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "created",
  "transactionHash": "<string>",
  "blockExplorerUrl": "<string>",
  "result": {},
  "request": {
    "operations": [
      {
        "functionSignature": "<string>",
        "argumentsValues": [],
        "messageValue": 0
      }
    ]
  },
  "type": "custom",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json

Parameters for a custom transaction.

Response

202 - application/json

The transaction was submitted to the blockchain. Important: This is an ASYNC route! Use the read transaction route to check its status.

The response is of type object.