Token

Claim Transaction Parameters

Constructs transaction parameters for claiming a distribution so the user could sign it

post/api/v2/{portalId}/claim/params

Request

  • Base URL
    https://portal-api.magna.so
  • Auth
    none declared

Path parameters

portalIdstring uuid required

portal id

Request body

hookIdstring uuid

ID of the protocol hook to use

extraDatastring

Extra data for the protocol hook

priorityFeeConfigType'MANUAL_WITH_LEVEL' | 'MANUAL_WITH_FEE' | 'AUTOMATIC'
priorityFeeConfigFeestring

decimal value; required if priorityFeeConfigType is MANUAL_WITH_FEE

priorityFeeConfigLevel'MIN' | 'LOW' | 'MEDIUM' | 'HIGH' | 'VERY_HIGH' | 'EXTREME'

required if priorityFeeConfigType is MANUAL_WITH_LEVEL

Response

Ok

fromstring required

wallet address of the sender

tostring required

address of the contract

datastring required

data of the transaction

platformFeestring required

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

Example response

{
  "from": "0x99Fcf70F401A2308C37C7e8d726fFBfe89AF1Bbd",
  "to": "0x1d654f0984e9f42BF8F9bD69A6C23965310c81D1",
  "data": "0x1bff5ed900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002463383662336533632d636633382d343139302d626539662d62373936386238353662373800000000000000000000000000000000000000000000000000000000",
  "platformFee": "0"
}

Changes

No recorded changes to this operation across all 1 revision of this API.