mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 10:39:00 +00:00
b2de8909d1
Output size is currently limited to 4000 bytes at protocol level. Given the maximum transaction size Trezor can handle (~9kB), we also want to enforce this size limit here so that when the limit is raised at protocol level again, Trezor would still not be able to produce larger outputs than it could reliably spend. Once Cardano-transaction signing is refactored to be completely streamed and maximum supported transaction size is thus raised, this limit can be lifted.
1388 lines
47 KiB
JSON
1388 lines
47 KiB
JSON
{
|
|
"setup": {
|
|
"mnemonic": "all all all all all all all all all all all all",
|
|
"passphrase": ""
|
|
},
|
|
"tests": [
|
|
{
|
|
"description": "Output address is a valid CBOR but invalid Cardano address",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "jsK75PTH2esX8k4Wvxenyz83LJJWToBbVmGrWUer2CHFHanLseh7r3sW5X5q",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is invalid CBOR",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "5dnY6xgRcNUSLGa4gfqef2jGAMHb7koQs9EXErXLNC1LiMPUnhn8joXhvEJpWQtN3F4ysATcBvCn5tABgL3e4hPWapPHmcK5GJMSEaET5JafgAGwSrznzL1Mqa",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address has invalid CRC",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZ5YUb8sM3eS8JqKgrRLzhiu71crfuH2MFtqaYr5ACNRZR3Mbm",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is too short",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q89s8py7y68e3x66sscs0wkhlg5ssfrfs65084jry45scvehcr",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Output address is too long",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q89s8py7y68e3x66sscs0wkhlg5ssfrfs65084jrlrqcfqqj922xhxkn6twlq2wn4q50q352annk3903tj00h45mgfm5z3vcwsfrvkr5zglq4rxu",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Fee is too high",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 45000000000000001,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "2657WMsDfac7BteXkJq5Jzdog4h47fPbkwUM49isuWbYAr2cFRHa3rURP236h9PBe",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Output address network mismatch"
|
|
}
|
|
},
|
|
{
|
|
"description": "Testnet transaction with mainnet output",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/44'/1815'/0'/0/1",
|
|
"prev_hash": "1af8fa0b754ff99253d983894e63a2b09cbb56c833ba18c3384210163f63dcfc",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Shelley testnet transaction with mainnet output",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 0,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid address"
|
|
}
|
|
},
|
|
{
|
|
"description": "Testnet protocol magic with mainnet network id",
|
|
"parameters": {
|
|
"protocol_magic": 42,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid network id/protocol magic combination!"
|
|
}
|
|
},
|
|
{
|
|
"description": "Unsupported address type",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1590z7zqwhya6mpk5q929ur897g3pp9kkgalpreny8y304r2dcrtx0sf3dluyu4erzr3xtmdnzvcyfzekkuteu2xagx0qt7gvvj",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Outputs can not contain both address and address_parameters fields!"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has non staking path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Certificate has invalid pool size",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal has non staking path",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Withdrawal amount is too large",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid withdrawal"
|
|
}
|
|
},
|
|
{
|
|
"description": "Auxiliary data blob is incomplete",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"blob": "a200a11864a118c843aa00ff01"
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "Auxiliary data blob has leftover data",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"blob": "a200a11864a118c843aa00ff01a119012c590100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa000000"
|
|
},
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "Ae2tdPwUPEZCanmBz5g2GEwFqKTKpNJcGYPKfDxoNeKZ8bRHr8366kseiK2",
|
|
"amount": "3003112"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "transaction with catalyst registration containing byron reward address",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"catalyst_registration_parameters": {
|
|
"voting_public_key": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"staking_path": "m/1852'/1815'/0'/2/0",
|
|
"nonce": 22634813,
|
|
"reward_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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "transaction with both auxiliary data blob and catalyst registration",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": {
|
|
"blob": "a200a11864a118c843aa00ff01a119012c590100aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"catalyst_registration_parameters": {
|
|
"voting_public_key": "38DA0B509D45BF6C87BD55594B92F97081D3923B8C1334B9B8D0BF13FC1C12D0",
|
|
"staking_path": "m/1852'/1815'/0'/2/0",
|
|
"reward_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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid auxiliary data"
|
|
}
|
|
},
|
|
{
|
|
"description": "Change output path larger than 100",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"input_flow": [["SWIPE", "YES"]],
|
|
"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'/190'/0/0",
|
|
"stakingPath": "m/1852'/1815'/0'/2/0",
|
|
"amount": "7120787"
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"certificates": [],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"input_flow": [["SWIPE", "YES"]],
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid change output staking path"
|
|
}
|
|
},
|
|
{
|
|
"description": "Stake deregistration account larger than 100",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"certificates": [
|
|
{
|
|
"type": 1,
|
|
"path": "m/1852'/1815'/190'/2/0"
|
|
}
|
|
],
|
|
"withdrawals": [],
|
|
"auxiliary_data": null,
|
|
"input_flow": [["SWIPE", "YES"]],
|
|
"inputs": [
|
|
{
|
|
"path": "m/1852'/1815'/0'/0/0",
|
|
"prev_hash": "3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7",
|
|
"prev_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"address": "addr1q84sh2j72ux0l03fxndjnhctdg7hcppsaejafsa84vh7lwgmcs5wgus8qt4atk45lvt4xfxpjtwfhdmvchdf2m3u3hlsd5tq5r",
|
|
"amount": "1"
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid certificate path"
|
|
}
|
|
},
|
|
{
|
|
"description": "Too many tokens in output",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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": "00a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "01aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "7878754"
|
|
},
|
|
{
|
|
"asset_name_bytes": "02aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "03aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "04aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "05aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "06aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "07aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "08aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
},
|
|
{
|
|
"asset_name_bytes": "09aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "1234"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "01a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "10aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "11aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "12aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "13aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "14aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "15aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "16aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "17aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "02a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "18aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "19aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "20aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "21aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "22aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "23aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "24aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "25aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "03a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "26aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "27aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "28aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "29aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "30aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "31aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "32aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "33aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "04a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "34aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "35aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "36aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "37aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "38aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "39aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "40aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "41aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "05a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "42aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "43aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "44aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "45aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "46aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "47aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "48aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "49aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "06a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "50aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "51aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "52aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "53aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "54aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "55aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "56aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "57aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "07a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "58aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "59aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "60aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "61aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "62aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "63aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "64aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "65aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "08a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "66aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "67aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "68aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "69aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "70aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "71aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "72aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "73aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "09a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "74aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "75aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "76aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "77aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "78aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "79aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "80aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "81aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "10a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "82aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "83aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "84aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "85aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "86aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "87aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "88aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "89aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "11a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "90aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "91aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "92aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "93aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "94aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "95aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "96aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "97aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"policy_id": "12a292ffee938be03e9bae5657982a74e9014eb4960108c9e23a5b39",
|
|
"tokens": [
|
|
{
|
|
"asset_name_bytes": "98aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "99aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
},
|
|
{
|
|
"asset_name_bytes": "100aaaaaaaaaaaaaaaaaaaaaaa",
|
|
"amount": "47"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Maximum tx output value size"
|
|
}
|
|
},
|
|
{
|
|
"description": "Repeated asset name in multiasset token group",
|
|
"parameters": {
|
|
"protocol_magic": 764824073,
|
|
"network_id": 1,
|
|
"fee": 42,
|
|
"ttl": 10,
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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,
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"result": {
|
|
"error_message": "Invalid token bundle in output"
|
|
}
|
|
}
|
|
]
|
|
}
|