curl --request POST \
--url https://api.biconomy.io/v1/mee/prepare7702 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"type": "smart-account",
"fromAddress": "0x0a7C906832544293a6018bA25280c7f7b0Bbf120",
"authorization": {
"address": "0x00000069E0Fb590E092Dd0E36FF93ac28ff11a3a",
"chainId": 8453,
"nonce": 38,
"r": "0x192a2503401595804c35cdc5b748fe35cceb77ef534bf5d670f7797376487ded",
"s": "0x1fd3c8acd0b7c5f64a8d72c35c39988544fca961b838277ab11750041cccc3d1",
"v": "28",
"yParity": 1
},
"fundingTokens": [
{
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chainId": 1,
"amount": "1000000000"
}
],
"instructions": [
{
"calls": [
{
"to": "0x1111111254EEB25477B68fb85Ed929f73A960582",
"value": "0",
"functionSig": "transfer(address,uint256)",
"inputParams": [
{
"fetcherType": 0,
"paramData": "0x742d35C9a91B1D5b5D24Dc30e8F0dF8E84b5d1c4",
"constraints": [
{
"constraintType": 0,
"referenceData": "1000"
}
]
}
],
"outputParams": [
{
"fetcherType": 0,
"paramData": "0x"
}
]
}
],
"chainId": 1,
"isComposable": true
}
],
"feeToken": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chainId": 1
},
"lowerBoundTimestamp": 1710000000,
"upperBoundTimestamp": 1710003600
}'
[
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"chainId": 8453,
"nonce": 123456
}
]
Prepare 7702 authorization for supertransaction which delegates the EOA to smart account
curl --request POST \
--url https://api.biconomy.io/v1/mee/prepare7702 \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"type": "smart-account",
"fromAddress": "0x0a7C906832544293a6018bA25280c7f7b0Bbf120",
"authorization": {
"address": "0x00000069E0Fb590E092Dd0E36FF93ac28ff11a3a",
"chainId": 8453,
"nonce": 38,
"r": "0x192a2503401595804c35cdc5b748fe35cceb77ef534bf5d670f7797376487ded",
"s": "0x1fd3c8acd0b7c5f64a8d72c35c39988544fca961b838277ab11750041cccc3d1",
"v": "28",
"yParity": 1
},
"fundingTokens": [
{
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chainId": 1,
"amount": "1000000000"
}
],
"instructions": [
{
"calls": [
{
"to": "0x1111111254EEB25477B68fb85Ed929f73A960582",
"value": "0",
"functionSig": "transfer(address,uint256)",
"inputParams": [
{
"fetcherType": 0,
"paramData": "0x742d35C9a91B1D5b5D24Dc30e8F0dF8E84b5d1c4",
"constraints": [
{
"constraintType": 0,
"referenceData": "1000"
}
]
}
],
"outputParams": [
{
"fetcherType": 0,
"paramData": "0x"
}
]
}
],
"chainId": 1,
"isComposable": true
}
],
"feeToken": {
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"chainId": 1
},
"lowerBoundTimestamp": 1710000000,
"upperBoundTimestamp": 1710003600
}'
[
{
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
"chainId": 8453,
"nonce": 123456
}
]
Body
The body is of type object
.
Authorization to be signed by users
The response is of type object[]
.