Skip to main content
POST
/
api
/
v2
/
{portalId}
/
claim
/
params
Claim Transaction Parameters
curl --request POST \
  --url https://api.example.com/api/v2/{portalId}/claim/params \
  --header 'Content-Type: application/json' \
  --data '
{
  "distributionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "hookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "extraData": "<string>",
  "priorityFeeConfigFee": "<string>"
}
'
{
  "from": "0x99Fcf70F401A2308C37C7e8d726fFBfe89AF1Bbd",
  "to": "0x1d654f0984e9f42BF8F9bD69A6C23965310c81D1",
  "data": "0x1bff5ed900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002463383662336533632d636633382d343139302d626539662d62373936386238353662373800000000000000000000000000000000000000000000000000000000",
  "platformFee": "0"
}

Path Parameters

portalId
string<uuid>
required

portal id

Body

application/json

Body

distributionId
required

distribution(s) to get parameters for

hookId
string<uuid>

ID of the protocol hook to use

extraData
string

Extra data for the protocol hook

priorityFeeConfigType
enum<string>
Available options:
MANUAL_WITH_LEVEL,
MANUAL_WITH_FEE,
AUTOMATIC
priorityFeeConfigFee
string

decimal value; required if priorityFeeConfigType is MANUAL_WITH_FEE

priorityFeeConfigLevel
enum<string>

required if priorityFeeConfigType is MANUAL_WITH_LEVEL

Available options:
MIN,
LOW,
MEDIUM,
HIGH,
VERY_HIGH,
EXTREME

Response

Ok

Ok

from
string
required

wallet address of the sender

to
string
required

address of the contract

data
string
required

data of the transaction

platformFee
string
required

value of the transaction; usually 0 unless there is a claim-fee