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 |
0 replies
|
@omsant02 , is this still a relevant question for you? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What is the correct format for
createAppSessionMessageparameters?All reactions