mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-05 05:58:23 +00:00
3319 lines
98 KiB
JSON
3319 lines
98 KiB
JSON
{
|
|
"setup": {
|
|
"mnemonic": "all all all all all all all all all all all all",
|
|
"passphrase": ""
|
|
},
|
|
"tests": [
|
|
{
|
|
"description": "Input prev hash has incorrect length",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid input"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is a valid CBOR but invalid Cardano address",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "jsK75PTH2esX8k4Wvxenyz83LJJWToBbVmGrWUer2CHFHanLseh7r3sW5X5q",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is invalid CBOR",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "5dnY6xgRcNUSLGa4gfqef2jGAMHb7koQs9EXErXLNC1LiMPUnhn8joXhvEJpWQtN3F4ysATcBvCn5tABgL3e4hPWapPHmcK5GJMSEaET5JafgAGwSrznzL1Mqa",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address has invalid CRC",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZ5YUb8sM3eS8JqKgrRLzhiu71crfuH2MFtqaYr5ACNRZR3Mbm",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is too short",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q89s8py7y68e3x66sscs0wkhlg5ssfrfs65084jry45scvehcr",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is too long",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q89s8py7y68e3x66sscs0wkhlg5ssfrfs65084jrlrqcfqqj922xhxkn6twlq2wn4q50q352annk3903tj00h45mgfm5z3vcwsfrvkr5zglq4rxu",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Fee is too high",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 45000000000000001,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Fee is out of range"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output total is too high",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "449999999199999999"
|
|
},
|
|
{
|
|
"addressType": 8,
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"amount": "1000000"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Total transaction amount is out of range!"
|
|
}
|
|
},
|
|
{
|
|
"description": "Mainnet transaction with testnet output",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "2657WMsDfac7BteXkJq5Jzdog4h47fPbkwUM49isuWbYAr2cFRHa3rURP236h9PBe",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Output address network mismatch"
|
|
}
|
|
},
|
|
{
|
|
"description": "Testnet transaction with mainnet output",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Output address network mismatch"
|
|
}
|
|
},
|
|
{
|
|
"description": "Shelley mainnet transaction with testnet output",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr_test1vr9s8py7y68e3x66sscs0wkhlg5ssfrfs65084jrlrqcfqqtmut0e",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Shelley testnet transaction with mainnet output",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Testnet protocol magic with mainnet network id",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid network id/protocol magic combination!"
|
|
}
|
|
},
|
|
{
|
|
"description": "Mainnet protocol magic with testnet network id",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid network id/protocol magic combination!"
|
|
}
|
|
},
|
|
{
|
|
"description": "Unsupported address type",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1590z7zqwhya6mpk5q929ur897g3pp9kkgalpreny8y304r2dcrtx0sf3dluyu4erzr3xtmdnzvcyfzekkuteu2xagx0qt7gvvj",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output has both address and address parameters set",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr_test1vr9s8py7y68e3x66sscs0wkhlg5ssfrfs65084jrlrqcfqqtmut0e",
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has non staking path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"path": "m/1852'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has multisig path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"path": "m/1854'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has script hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"script_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has key hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"key_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has both path and script_hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"script_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has both path and key_hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"key_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has invalid pool size",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 2,
|
|
"path": "m/1852'/1815'/0'/2/0",
|
|
"pool": "f61c42cbf7c8c53af3f520508212ad3e72"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal has non staking path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal has multisig path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1854'/1815'/0'/0/0",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal has script hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"script_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal has key hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"key_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal amount is too large",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/2/0",
|
|
"amount": "449999999199999999"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal contains both path and script_hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/2/0",
|
|
"amount": "1000",
|
|
"script_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal contains both path and key_hash",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/2/0",
|
|
"amount": "1000",
|
|
"key_hash": "29fb5fd4aa8cadd6705acc8263cee0fc62edca5ac38db593fec2f9fd"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Auxiliary data hash has incorrect length",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"hash": "a200a11864a118c843aa00ff01"
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "transaction with cvote registration containing byron payment address",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"cvote_registration_parameters": {
|
|
"vote_public_key": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"staking_path": "m/1852'/1815'/0'/2/0",
|
|
"nonce": 22634813,
|
|
"payment_address_parameters": {
|
|
"addressType": 8,
|
|
"path": "m/44'/1815'/0'/0/0"
|
|
}
|
|
}
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address parameters"
|
|
}
|
|
},
|
|
{
|
|
"description": "transaction with both auxiliary data blob and cvote registration",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"hash": "ea4c91860dd5ec5449f8f985d227946ff39086b17f10b5afb93d12ee87050b6a",
|
|
"cvote_registration_parameters": {
|
|
"vote_public_key": "38DA0B509D45BF6C87BD55594B92F97081D3923B8C1334B9B8D0BF13FC1C12D0",
|
|
"staking_path": "m/1852'/1815'/0'/2/0",
|
|
"payment_address_parameters": {
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0"
|
|
},
|
|
"nonce": 140
|
|
}
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "transaction with both vote public key and delegations in cvote registration",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"cvote_registration_parameters": {
|
|
"vote_public_key": "38DA0B509D45BF6C87BD55594B92F97081D3923B8C1334B9B8D0BF13FC1C12D0",
|
|
"staking_path": "m/1852'/1815'/0'/2/0",
|
|
"payment_address_parameters": {
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0"
|
|
},
|
|
"nonce": 140,
|
|
"format": 1,
|
|
"delegations": [
|
|
{
|
|
"vote_public_key": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"weight": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output datum hash has incorrect length",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1",
|
|
"datum_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid output datum hash"
|
|
}
|
|
},
|
|
{
|
|
"description": "Script data hash has incorrect length",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": "d593fd793c377ac50a3169bb8378ffc257c944da31aa8f355dfa5a4f",
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid script data hash"
|
|
}
|
|
},
|
|
{
|
|
"description": "Collateral input is present",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid tx signing request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Collateral return is present",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": {
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "10"
|
|
},
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid tx signing request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Total collateral is present",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": 1000,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid tx signing request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Reference input is present",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [
|
|
{
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid tx signing request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Inline datum present in output with legacy format",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1w9rhu54nz94k9l5v6d9rzfs47h7dv7xffcwkekuxcx3evnqpvuxu0",
|
|
"amount": "1",
|
|
"format": 0,
|
|
"inline_datum": "b7"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Both datum hash and inline datum present",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1w9rhu54nz94k9l5v6d9rzfs47h7dv7xffcwkekuxcx3evnqpvuxu0",
|
|
"amount": "1",
|
|
"datum_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"format": 1,
|
|
"inline_datum": "b7"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output path larger than 100",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/190'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/190'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid change output path"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output staking path larger than 100",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/190'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid change output staking path"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output with script in payment part",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 1,
|
|
"scriptPaymentHash": "0d5acbf6a1dfb0c8724e60df314987315ccbf78bb6c0f9b6f3d568fe",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address parameters"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output with reward address",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "stake1uyfz49rtntfa9h0s98f6s28sg69weemgjhc4e8hm66d5yacalmqha",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Stake deregistration account larger than 100",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/190'/2/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/190'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate path"
|
|
}
|
|
},
|
|
{
|
|
"description": "Stake deregistration address index larger than 1_000_000",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/0'/2/1234567"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/190'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Repeated asset name in multiasset token group",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "1234"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid token bundle in output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Repeated policyId in multiasset output",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696f",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid token bundle in output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Repeated asset name in mint token group",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "1234"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid mint token bundle"
|
|
}
|
|
},
|
|
{
|
|
"description": "Repeated policyId in mint",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696f",
|
|
"mint_amount": "7878754"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid mint token bundle"
|
|
}
|
|
},
|
|
{
|
|
"description": "Asset names in multiasset token group in wrong order",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "76652474436f696e",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"amount": "1234"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid token bundle in output"
|
|
}
|
|
},
|
|
{
|
|
"description": "PolicyIds in multiasset output in wrong order",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696d",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "9aa292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "96a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696f",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid token bundle in output"
|
|
}
|
|
},
|
|
{
|
|
"description": "Asset names in mint token group in wrong order",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "76652474436f696e",
|
|
"mint_amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"mint_amount": "1234"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid mint token bundle"
|
|
}
|
|
},
|
|
{
|
|
"description": "PolicyIds in mint in wrong order",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "14652474436f696d",
|
|
"mint_amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "9aa292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "24652474436f696e",
|
|
"mint_amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "96a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "34652474436f696f",
|
|
"mint_amount": "7878754"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid mint token bundle"
|
|
}
|
|
},
|
|
{
|
|
"description": "Additional witness requests in ORDINARY_TRANSACTION",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [
|
|
{
|
|
"path": "m/1854'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "1854 input path in ORDINARY_TRANSACTION",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1854'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [
|
|
{
|
|
"path": "m/1854'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "1854 change output path in ORDINARY_TRANSACTION",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1854'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address parameters"
|
|
}
|
|
},
|
|
{
|
|
"description": "Ordinary transaction with token minting with 1854 path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": 47,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1234",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "100"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "a5a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "100"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "100"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"mint_amount": "-100"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "a5a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "100"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"mint_amount": "-100"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [
|
|
{
|
|
"path": "m/1854'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Ordinary transaction without token minting but with a 1855 additional witness request",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": 47,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1234"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [
|
|
{
|
|
"path": "m/1855'/1815'/0'"
|
|
}
|
|
],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Ordinary transaction with long token minting path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": 47,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "2000000",
|
|
"token_bundle": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "96a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"amount": "1234"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mint": [
|
|
{
|
|
"policy_id": "95a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"mint_amount": "-7878754"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "96a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74652474436f696e",
|
|
"mint_amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75652474436f696e",
|
|
"mint_amount": "-1234"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [
|
|
{
|
|
"path": "m/1855'/1815'/0'/0/0"
|
|
}
|
|
],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Input and change output account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/1'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Input and stake deregistration certificate account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/1'/2/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Input and withdrawal account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/1'/2/0",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output and stake deregistration account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/1'/2/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output and withdrawal account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/1'/2/0",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
},
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Stake deregistration certificate and withdrawal account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"validity_interval_start": null,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/0'/2/0"
|
|
}
|
|
],
|
|
"withdrawals": [
|
|
{
|
|
"path": "m/1852'/1815'/1'/2/0",
|
|
"amount": "1000"
|
|
}
|
|
],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Byron to Shelley transfer input account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": null,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
},
|
|
{
|
|
"path": "m/1852'/1815'/1'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1z90z7zqwhya6mpk5q929ur897g3pp9kkgalpreny8y304r2dcrtx0sf3dluyu4erzr3xtmdnzvcyfzekkuteu2xagx0qeva0pr",
|
|
"amount": "1"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
},
|
|
{
|
|
"description": "Byron to Shelley transfer output account mismatch",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": null,
|
|
"validity_interval_start": null,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"addressType": 0,
|
|
"path": "m/1852'/1815'/1'/0/0",
|
|
"stakingPath": "m/1852'/1815'/1'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
],
|
|
"mint": [],
|
|
"script_data_hash": null,
|
|
"collateral_inputs": [],
|
|
"required_signers": [],
|
|
"collateral_return": null,
|
|
"total_collateral": null,
|
|
"reference_inputs": [],
|
|
"signing_mode": "ORDINARY_TRANSACTION",
|
|
"additional_witness_requests": [],
|
|
"include_network_id": false,
|
|
"tag_cbor_sets": false
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid witness request"
|
|
}
|
|
}
|
|
]
|
|
}
|