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

{
  "address": string,
  "transactionData": string,
  "transactionDetails": {
    "steps": [
      {
        "stepAddress": string,
        "stepEncodedCall": string,
        "storeOperations": [
          {
            "storeOpType": number,
            "storeNumber": number,
            "secondaryStoreNumber": number,
            "offset": number,
            "fraction": number
          },
          ...
        ]
      }
    ],
    "stores": [
      string|number,
      ...
    ]
  }
}

Last updated