Skip to main content
deleted 15 characters in body
Source Link
user5852
user5852

The Basic Output has a sender and a metadata feature.

The Basic Output has a sender and a metadata feature.

The Basic Output has a sender feature.

deleted 208 characters in body; edited title
Source Link
user5852
user5852
deleted 208 characters in body; edited title
Source Link
user5852
user5852

Full block with transaction payload and metadata and Error 500 from shimmer testnet when adding sender feature to a basic output

{
    "nonce": "6917529027641084997""1152921504607082870",
    "parents": [
        "0x44dce422284cdb0362eebcc23071ab607cd9df23fcbe397de98c9e587c90b4d6""0x0ac1a4bc67f3e8a71f3881848c194826bb37f23d88dacacd47060b54a8ffcf19",
        "0x6c2ad13c4cdd354d4ee09887163e8ab9074968080e6a4692524f2f0860518e8a""0x0fae8083fbfbd805cc1dc6af91ce92fb93dc7f4927539e63e1a1a376eda96366",
        "0x886429be5444321d87eeb73727ea5e397052416048d7f24dfa165f432f9b41ac""0x39035c1a906316d75f85e497d74408568e540830c0a18b52a4e194243c1e94ca",
        "0xffdf2181ba2b9fa1d8f3d03638e0545b7c411efdc227b3fda7713a648cb1de70""0x3d75eb67753a09efc13f09c9f046c7c5ab5c01cadc271a4f7f6582338be196a6"
    ],
    "payload": {
        "essence": {
            "inputs": [
                {
                    "transactionId": "0x96bcc148d0bbb054705af748e65be7c3b48682736d791a4cf15994f03e462cc6""0xec32fd61e28428cecccb20a3e6e9d01799d35df394b5e5a23232bc6d5a62b12f",
                    "transactionOutputIndex": 0,
                    "type": 0
                }
            ],
            "inputsCommitment": "0x22d8eb5dc1f632414b3af3f5299f94b38970db10388a104e4172e429ab314130""0x43b14fb15642a8df580a30a268245cde078013c377ed676fbcff49afd70266e5",
            "networkId": "8342982141227064571",
            "outputs": [
                {
                    "amount": "1000000000",
                    "features": [
                        {
                            "sender": {
                                "pubKeyHash": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727""0x67149b47cd37eeb72a6a67bf6550160282ba06d99529638347359a3eeeb77afa",
                                "type": 0
                            },
                            "type": 0
                        },
                        {
                            "data": "0x646174612066726f20494f54412d5154",
                            "type": 2
                        }
                    ],
                    "type": 3,
                    "unlockConditions": [
                        {
                            "address": {
                                "pubKeyHash": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727""0x67149b47cd37eeb72a6a67bf6550160282ba06d99529638347359a3eeeb77afa",
                                "type": 0
                            },
                            "type": 0
                        }
                    ]
                }
            ],
            "payload": null,
            "type": 1
        },
        "type": 6,
        "unlocks": [
            {
                "signature": {
                    "publicKey": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727""0x737ed27947376bc4b2db80392b3ca0fab5519ed94ca130cb9e340c2550aa125d",
                    "signature": "0x7a551706826ce89df9ddf3576c027745bb1a27f280aa73154b7a11b31db0d752ccdca91c48332716eabc5aa18a136dd8a896dddc51649d12cc355a9f9f3f4f0a""0xbe37c449614ebf7025a50a442ed7ae347f19f2d5ef73768c1559d370366e5d37a4584b2e5bf66c3398a99babe91aef7e517d652d64e081d84003784063bec604",
                    "type": 0
                },
                "type": 0
            }
        ]
    },
    "protocolVersion": 2
}

So I want to create and output of 10000000001000 smr by consuming an input that holds that amount of smr. The output to be created has to be unlocked with the same keys that the consumed input. My intention is to store some custom metadata in the generated output.

I have been able to send Tagged data payloads and fulfill PoW. Edited: Also I have been able to send a Transaction payload with metadata and tag features. This error only happens when adding a sender feature.Also I have been able to send a Transaction payload with metadata and tag features. This error only happens when adding a sender feature. If someone knows what it is wrong with this procedure and block please let me know. Thank you for your time.

Full block with transaction payload and metadata and sender feature

{
    "nonce": "6917529027641084997",
    "parents": [
        "0x44dce422284cdb0362eebcc23071ab607cd9df23fcbe397de98c9e587c90b4d6",
        "0x6c2ad13c4cdd354d4ee09887163e8ab9074968080e6a4692524f2f0860518e8a",
        "0x886429be5444321d87eeb73727ea5e397052416048d7f24dfa165f432f9b41ac",
        "0xffdf2181ba2b9fa1d8f3d03638e0545b7c411efdc227b3fda7713a648cb1de70"
    ],
    "payload": {
        "essence": {
            "inputs": [
                {
                    "transactionId": "0x96bcc148d0bbb054705af748e65be7c3b48682736d791a4cf15994f03e462cc6",
                    "transactionOutputIndex": 0,
                    "type": 0
                }
            ],
            "inputsCommitment": "0x22d8eb5dc1f632414b3af3f5299f94b38970db10388a104e4172e429ab314130",
            "networkId": "8342982141227064571",
            "outputs": [
                {
                    "amount": "1000000000",
                    "features": [
                        {
                            "sender": {
                                "pubKeyHash": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727",
                                "type": 0
                            },
                            "type": 0
                        },
                        {
                            "data": "0x646174612066726f20494f54412d5154",
                            "type": 2
                        }
                    ],
                    "type": 3,
                    "unlockConditions": [
                        {
                            "address": {
                                "pubKeyHash": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727",
                                "type": 0
                            },
                            "type": 0
                        }
                    ]
                }
            ],
            "payload": null,
            "type": 1
        },
        "type": 6,
        "unlocks": [
            {
                "signature": {
                    "publicKey": "0x34d6c6e1ba34fdfc802d6b3642eeaf5ce47b90f918c039811318301ae91ab727",
                    "signature": "0x7a551706826ce89df9ddf3576c027745bb1a27f280aa73154b7a11b31db0d752ccdca91c48332716eabc5aa18a136dd8a896dddc51649d12cc355a9f9f3f4f0a",
                    "type": 0
                },
                "type": 0
            }
        ]
    },
    "protocolVersion": 2
}

So I want to create and output of 1000000000 smr by consuming an input that holds that amount of smr. The output to be created has to be unlocked with the same keys that the consumed input. My intention is to store some custom metadata in the generated output.

I have been able to send Tagged data payloads and fulfill PoW. Edited: Also I have been able to send a Transaction payload with metadata and tag features. This error only happens when adding a sender feature. If someone knows what it is wrong with this procedure and block please let me know. Thank you for your time.

Error 500 from shimmer testnet when adding sender feature to a basic output

{
    "nonce": "1152921504607082870",
    "parents": [
        "0x0ac1a4bc67f3e8a71f3881848c194826bb37f23d88dacacd47060b54a8ffcf19",
        "0x0fae8083fbfbd805cc1dc6af91ce92fb93dc7f4927539e63e1a1a376eda96366",
        "0x39035c1a906316d75f85e497d74408568e540830c0a18b52a4e194243c1e94ca",
        "0x3d75eb67753a09efc13f09c9f046c7c5ab5c01cadc271a4f7f6582338be196a6"
    ],
    "payload": {
        "essence": {
            "inputs": [
                {
                    "transactionId": "0xec32fd61e28428cecccb20a3e6e9d01799d35df394b5e5a23232bc6d5a62b12f",
                    "transactionOutputIndex": 0,
                    "type": 0
                }
            ],
            "inputsCommitment": "0x43b14fb15642a8df580a30a268245cde078013c377ed676fbcff49afd70266e5",
            "networkId": "8342982141227064571",
            "outputs": [
                {
                    "amount": "1000000000",
                    "features": [
                        {
                            "sender": {
                                "pubKeyHash": "0x67149b47cd37eeb72a6a67bf6550160282ba06d99529638347359a3eeeb77afa",
                                "type": 0
                            },
                            "type": 0
                        }
                    ],
                    "type": 3,
                    "unlockConditions": [
                        {
                            "address": {
                                "pubKeyHash": "0x67149b47cd37eeb72a6a67bf6550160282ba06d99529638347359a3eeeb77afa",
                                "type": 0
                            },
                            "type": 0
                        }
                    ]
                }
            ],
            "payload": null,
            "type": 1
        },
        "type": 6,
        "unlocks": [
            {
                "signature": {
                    "publicKey": "0x737ed27947376bc4b2db80392b3ca0fab5519ed94ca130cb9e340c2550aa125d",
                    "signature": "0xbe37c449614ebf7025a50a442ed7ae347f19f2d5ef73768c1559d370366e5d37a4584b2e5bf66c3398a99babe91aef7e517d652d64e081d84003784063bec604",
                    "type": 0
                },
                "type": 0
            }
        ]
    },
    "protocolVersion": 2
}

So I want to create and output of 1000 smr by consuming an input that holds that amount of smr. The output to be created has to be unlocked with the same keys that the consumed input. My intention is to store some custom metadata in the generated output.

I have been able to send Tagged data payloads and fulfill PoW. Also I have been able to send a Transaction payload with metadata and tag features. This error only happens when adding a sender feature. If someone knows what it is wrong with this procedure and block please let me know. Thank you for your time.

added 2 characters in body
Source Link
user5852
user5852
Loading
added 153 characters in body
Source Link
user5852
user5852
Loading
added 41 characters in body
Source Link
user5852
user5852
Loading
Source Link
user5852
user5852
Loading