Skip to main content
POST
/
widget
/
transfer-native
curl --request POST \
  --url http://localhost:4000/v1/widget/transfer-native \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Transfer AVAX",
  "description": "Send AVAX to another address on Avalanche network",
  "icon": "https://example.com/avax-icon.png",
  "url": "https://example.com/transfer",
  "address": "0xb00D916688FEE4aB6646994104E1441446947fc9",
  "chainId": 43114
}
'
{
  "success": true,
  "metadata": {}
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Body

application/json

Parameters for generating native token transfer metadata

title
string
required

The name of the blockchain network (e.g., ethereum, polygon).

description
string
required

The name of the blockchain network (e.g., ethereum, polygon).

url
string
required

The name of the blockchain network (e.g., ethereum, polygon).

address
string
required

The name of the blockchain network (e.g., ethereum, polygon).

chainId
number
required

The name of the blockchain network (e.g., ethereum, polygon).

icon
string

The Twitter handle of the recipient (without @).

Response

Native token transfer metadata generated successfully

success
boolean
Example:

true

metadata
object

Generated metadata for native token transfer