{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "signParameters", "type": "object", "properties": { "txJSON": { "type": "string", "description": "Transaction represented as a JSON string in rippled format." }, "secret": { "type": "string", "format": "secret", "description": "The secret of the account that is initiating the transaction. (This field cannot be used with keypair)." }, "keypair": { "type": "object", "properties": { "privateKey": { "type": "privateKey", "description": "The uppercase hexadecimal representation of the secp256k1 or Ed25519 private key. Ed25519 keys are prefixed with 0xED. You can read about how keys are derived [here](https://xrpl.org/cryptographic-keys.html)." }, "publicKey": { "type": "publicKey", "description": "The uppercase hexadecimal representation of the secp256k1 or Ed25519 public key. Ed25519 keys are prefixed with 0xED. You can read about how keys are derived [here](https://xrpl.org/cryptographic-keys.html)." } }, "description": "The private and public key of the account that is initiating the transaction. (This field cannot be used with secret).", "required": ["privateKey", "publicKey"], "additionalProperties": false }, "options": { "type": "object", "description": "Options that control the type of signature to create.", "properties": { "signAs": { "$ref": "address", "description": "The account that the signature should count for in multisigning." } }, "additionalProperties": false } }, "additionalProperties": false, "required": ["txJSON"], "oneOf": [ { "required": ["secret"], "not": {"required": ["keypair"]} }, { "required": ["keypair"], "not": {"required": ["secret"]} } ] }