Skip to content

Instantly share code, notes, and snippets.

@elijahboston
Last active October 19, 2023 16:24
Show Gist options
  • Save elijahboston/b60942f6645a329735f30deaca2bc097 to your computer and use it in GitHub Desktop.
Save elijahboston/b60942f6645a329735f30deaca2bc097 to your computer and use it in GitHub Desktop.
particle error
// this works, 0x455... is a wallet address
{
"method": "particle_aa_getFeeQuotes",
"params": [
"Qy_1j8BvF.ede01527-4f25-4a26-83ab-e3b41283693f",
"0xae934CFEbdf0798C8d7721d5ADF2adAc8d43Ae55",
[
{
"to": "0x4559b1771b1d7C1846d91a91335273C3a28f9395"
}
]
],
"id": 1697729960051700,
"jsonrpc": "2.0"
}
// this does *not* work, 0x4f1... is a contract address
{
"method": "particle_aa_getFeeQuotes",
"params": [
"Qy_1j8BvF.ede01527-4f25-4a26-83ab-e3b41283693f",
"0xae934CFEbdf0798C8d7721d5ADF2adAc8d43Ae55",
[
{
"to": "0x4f1d422f2fb93bf40644e1ad4f7ae8213dd118f8"
}
]
],
"id": 1697730460343953,
"jsonrpc": "2.0"
}
// using a token address gives the same error
{
"method": "particle_aa_getFeeQuotes",
"params": [
"Qy_1j8BvF.ede01527-4f25-4a26-83ab-e3b41283693f",
"0xae934CFEbdf0798C8d7721d5ADF2adAc8d43Ae55",
[
{
"to": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"
}
]
],
"id": 1697730705782940,
"jsonrpc": "2.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment