UNPKG

airgap-coin-lib

Version:

The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

61 lines 1.43 kB
{ "$ref": "#/definitions/UnsignedEthereumTransaction", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "HexString": { "type": "string" }, "UnsignedEthereumTransaction": { "additionalProperties": false, "properties": { "callbackURL": { "type": "string" }, "publicKey": { "type": "string" }, "transaction": { "additionalProperties": false, "properties": { "chainId": { "type": "number" }, "data": { "$ref": "#/definitions/HexString" }, "gasLimit": { "$ref": "#/definitions/HexString" }, "gasPrice": { "$ref": "#/definitions/HexString" }, "nonce": { "$ref": "#/definitions/HexString" }, "to": { "$ref": "#/definitions/HexString" }, "value": { "$ref": "#/definitions/HexString" } }, "required": [ "nonce", "gasPrice", "gasLimit", "to", "value", "chainId", "data" ], "type": "object" } }, "required": [ "publicKey", "transaction" ], "type": "object" } } }