Skip to content

Instantly share code, notes, and snippets.

@danimbrogno
Created April 11, 2024 01:22
Show Gist options
  • Save danimbrogno/27a9aac91d5af3c8775a4345d7c45ae5 to your computer and use it in GitHub Desktop.
Save danimbrogno/27a9aac91d5af3c8775a4345d7c45ae5 to your computer and use it in GitHub Desktop.
Farcaster frame unsupported transaction returned json
{
"chainId": "eip155:11155111",
"method": "eth_sendTransaction",
"params": {
"abi": [
{
"type": "function",
"name": "mint",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "payable"
},
{
"type": "error",
"name": "ERC721IncorrectOwner",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721InsufficientApproval",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "ERC721InvalidApprover",
"inputs": [
{
"name": "approver",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721InvalidOperator",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721InvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721InvalidReceiver",
"inputs": [
{
"name": "receiver",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721InvalidSender",
"inputs": [
{
"name": "sender",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "ERC721NonexistentToken",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "FragmentAlreadyRegistered",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "FragmentUnregistered",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "IncorrectNonce",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "nonce",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "NotAuthorized",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "NotFrozen",
"inputs": [
{
"name": "addr",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "OutOfIDs",
"inputs": []
},
{
"type": "error",
"name": "OwnableInvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "OwnableUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "UnsupportedTokenId",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
}
],
"to": "0x08Eb5F8d871768632D4d3A85966e253122a816b0",
"data": "0xb510391f000000000000000000000000df71f1ba80b3f231ce26dc4a7ee79aeaee6980b600000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000",
"value": "777000000000000"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment