@ledgerhq/hw-app-eth
Version:
Ledger Hardware Wallet Ethereum Application API
33 lines (32 loc) • 995 B
JSON
{
"domain": {
"chainId": 1284,
"name": "Ether Mail",
"verifyingContract": "0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC",
"version": "1"
},
"message": {
"contents": "Hello, Bob!",
"from": "0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826",
"to": [
"0xB0BdaBea57B0BDABeA57b0bdABEA57b0BDabEa57",
"0xb1a22cc48f6784f629a994917cd6474923630c48"
],
"id": 7
},
"primaryType": "Mail",
"types": {
"EIP712Domain": [
{ "name": "name", "type": "string" },
{ "name": "version", "type": "string" },
{ "name": "chainId", "type": "uint256" },
{ "name": "verifyingContract", "type": "address" }
],
"Mail": [
{ "name": "from", "type": "address" },
{ "name": "to", "type": "address[]" },
{ "name": "contents", "type": "string" },
{ "name": "id", "type": "uint256"}
]
}
}