POST
/
v1
/
instructions
/
build
Build low level custom instructions
curl --request POST \
  --url https://api.biconomy.io/v1/instructions/build \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "functionSignature": "function transfer(address to, uint256 amount)",
  "args": [
    "<string>"
  ],
  "to": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "chainId": 8453,
  "value": "0",
  "gasLimit": "50000"
}'
{
  "instructions": [
    {
      "calls": [
        {
          "to": "0x1111111254EEB25477B68fb85Ed929f73A960582",
          "value": "0",
          "functionSig": "transfer(address,uint256)",
          "inputParams": [
            {
              "fetcherType": 0,
              "paramData": "0x742d35C9a91B1D5b5D24Dc30e8F0dF8E84b5d1c4",
              "constraints": [
                {
                  "constraintType": 0,
                  "referenceData": "1000"
                }
              ]
            }
          ],
          "outputParams": [
            {
              "fetcherType": 0,
              "paramData": "0x"
            }
          ]
        }
      ],
      "chainId": 1,
      "isComposable": true
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Body

The body is of type object.

Response

200
application/json

Build response

The response is of type object.