pimlico_sponsorMagicSpendWithdrawal
This method accepts the withdrawal parameteres along with a signature over this parameters. The signature should be done by the operator
of the Allowance
message.
Request
{
"jsonrpc": "2.0",
"method": "pimlico_sponsorMagicSpendWithdrawal",
"params": [
{
"recipient": "0x100c817c465034CcbEC8Dc0436dbB6C2983032B2",
"asset": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"amount": 123,
"salt": 0,
"signature": "0x606b713744cfab2a440c07a564c7630195f974372b3c1ef62f10048f84931fdd7ad89b9ea48212994960b1e09ab34ead8c0a7e05aeae89427d3200d8e4463a1e1c"
}
],
"id": 1
}
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"asset": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"amount": "0x7b",
"recipient": "0x100c817c465034CcbEC8Dc0436dbB6C2983032B2",
"preCalls": [],
"postCalls": [],
"validAfter": "0x672a7f55",
"validUntil": "0x672a867b",
"salt": "0x18524",
"chainId": "0xaa36a7"
},
"0x275f4c928c484d11437d0f8b54a5b3b89fb540085d0e3bdd7184417d005bdca2541d37d5651c198d4923969dee896c321059fc0c16deb299f2bbc9b3a341bd0d1c"
]
}