curl --request POST \
--url https://api.webacy.com/scan/{fromAddress}/eip712 \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"msg": {
"from": "0x6535d5F76F021FE65E2ac73D086dF4b4Bd7ee5D9",
"data": {
"types": {
"EIP712Domain": [
{
"name": "chainId",
"type": "uint256"
},
{
"name": "verifyingContract",
"type": "address"
}
],
"SafeTx": [
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
},
{
"name": "data",
"type": "bytes"
},
{
"name": "operation",
"type": "uint8"
},
{
"name": "safeTxGas",
"type": "uint256"
},
{
"name": "baseGas",
"type": "uint256"
},
{
"name": "gasPrice",
"type": "uint256"
},
{
"name": "gasToken",
"type": "address"
},
{
"name": "refundReceiver",
"type": "address"
},
{
"name": "nonce",
"type": "uint256"
}
]
},
"primaryType": "SafeTx",
"domain": {
"chainId": 1,
"verifyingContract": "0xA77DE01e157f9f57C7c4A326eeE9C4874D0598b6"
},
"message": {
"to": "0xfbffef83b1c172fe3bc86c1ccb036ab9f3efcaf2",
"value": "0",
"data": "0x804e1f0a000000000000000000000000ef279c2ab14960aa319008cbea384b9f8ac35fc6",
"operation": 1,
"baseGas": "0",
"gasPrice": "0",
"gasToken": "0x0000000000000000000000000000000000000000",
"refundReceiver": "0x0000000000000000000000000000000000000000",
"nonce": 42,
"safeTxGas": "0"
}
}
}
}
'