transferFeeInfo
Return the transfer fee for an account and optional destination. Use the returned fee when signing a transfer; it is charged in addition to the transferred amount.
get/api/v1/transferFeeInfo
Query parameters
account_indexinteger · int64Required
Account index to query.
to_account_indexinteger · int64OptionalDefault:
Destination account index; -1 means it is not specified.
-1Header parameters
authorizationstringOptional
Auth token in the Authorization header.
Responses
200
A successful response.
application/json
codeinteger · int32RequiredExample:
200messagestringOptional
transfer_fee_usdcinteger · int64Required
400
Bad request
application/json
get/api/v1/transferFeeInfo
GET /api/v1/transferFeeInfo?account_index=1 HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"code": 200,
"message": "text",
"transfer_fee_usdc": 1
}Last updated
Was this helpful?