Add Custom Token

post
/projects/{projectId}/tokens

Add a custom token for your project

projectId
string
required

Swing Project Identifier

Examples:
app-swing-xyz
x-swing-environment
string

Swing API environment to use

Allowed values:
productiontestnet
Default:
production
address
string
required
Example:
0x000000000000000000
chain
string
required
Example:
ethereum
symbol
string

If left blank, EVM token contract's symbol will be used.

Example:
ETH
logo
string

A publicly accessible image URL

Example:
https://raw.githubusercontent.com/swing-xyz/assets/master/blockchains/ethereum/assets/0x0000000000000000000000000000000000000000/logo.png
decimals
integer

If left blank, EVM token contract's decimals will be used.

Example:
18
Auth
No auth selected
Parameters
:
:
Body
preparing...