Replies: 2 comments
-
|
Hi @omsant02 1. Amount should be a number, not a string The Allocation interface defines amount as a numeric type (uint256): export interface Allocation {
destination: Address;
token: Address;
amount: bigint; // Not string
}Try changing: // From
{"participant": "0x633...", "asset": "usdc", "amount": "1"}
// To
{"participant": "0x633...", "asset": "usdc", "amount": 1}2. Asset should be a contract address The token field expects an address type, not a symbol. If you've had the chance to look at the interface, you'll see it's defined as For Base USDC, try: "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"3. Challenge duration of 0 might be invalid The SDK uses a default of 120 seconds for challenge duration. Consider changing: "challenge": 120 |
Beta Was this translation helpful? Give feedback.
-
|
@omsant02 , is this still a relevant question for you? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the correct format for
createAppSessionMessageparameters?Beta Was this translation helpful? Give feedback.
All reactions