Skip to main content
POST
/
api
/
v1
/
actions
/
fulfill
/
build
Build permissionless fulfillRedeem calldata.
curl --request POST \
  --url https://shlp-web-production.up.railway.app/api/v1/actions/fulfill/build \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "1"
}'
{
  "success": true,
  "data": {
    "action": "<string>",
    "tx": {
      "to": "<string>",
      "data": "<string>",
      "value": "0",
      "chainId": 999
    },
    "account": "<string>",
    "receiver": "<string>",
    "quoteBlock": "<string>",
    "requirements": [
      {
        "type": "approval",
        "token": "<string>",
        "spender": "<string>",
        "amount": {
          "raw": "1000000",
          "decimals": 6,
          "formatted": "1.000000"
        },
        "tx": {
          "to": "<string>",
          "data": "<string>",
          "value": "0",
          "chainId": 999
        }
      }
    ],
    "expected": {
      "assets": {
        "raw": "1000000",
        "decimals": 6,
        "formatted": "1.000000"
      },
      "shares": {
        "raw": "1000000",
        "decimals": 6,
        "formatted": "1.000000"
      },
      "minShares": {
        "raw": "1000000",
        "decimals": 6,
        "formatted": "1.000000"
      }
    },
    "slippageBps": 123,
    "expiresAt": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Body

application/json
id
string
required
Example:

"1"

Response

OK

success
boolean
required
data
object
required
meta
object
required