API methods
Lists all assets
GET
https://jam-api.usepicnic.com/assets/list
Generates transaction
POST
https://jam-api.usepicnic.com/transaction/generate
Request Body
Last updated
GET
https://jam-api.usepicnic.com/assets/list
POST
https://jam-api.usepicnic.com/transaction/generate
Last updated
Name | Type | Description |
---|---|---|
chainId*
number
Chain ID
walletAddress*
string
Wallet address
inputAllocation*
object
[
{
assetId: string,
amountStr: string
},
...
]
outputAllocation*
object
[
{
assetId: string,
fraction: number
},
...
]