Created
April 13, 2024 16:56
-
-
Save keroro520/46a21da7f84ff3db8c7a9ff82491c0e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -XPOST --data-binary '{ | |
| "id": 4379, | |
| "method": "send_transaction", | |
| "params": [ | |
| { | |
| "version": "0x0", | |
| "cell_deps": [ | |
| { | |
| "out_point": { | |
| "tx_hash": "0xc07844ce21b38e4b071dd0e1ee3b0e27afd8d7532491327f39b786343f558ab7", | |
| "index": "0x0" | |
| }, | |
| "dep_type": "code" | |
| }, | |
| { | |
| "out_point": { | |
| "tx_hash": "0xf05188e5f3a6767fc4687faf45ba5f1a6e25d3ada6129dae8722cb282f262493", | |
| "index": "0x0" | |
| }, | |
| "dep_type": "dep_group" | |
| } | |
| ], | |
| "inputs": [ | |
| { | |
| "previous_output": { | |
| "tx_hash": "0x6ea13a212c29138a7492d055e5c753bc7ae5bb0f70e2ab602c787ce345ed6e0e", | |
| "index": "0x1" | |
| }, | |
| "since": "0x0" | |
| }, | |
| { | |
| "previous_output": { | |
| "tx_hash": "0x6ea13a212c29138a7492d055e5c753bc7ae5bb0f70e2ab602c787ce345ed6e0e", | |
| "index": "0x2" | |
| }, | |
| "since": "0x0" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "capacity": "0x35a4e9000", | |
| "lock": { | |
| "code_hash": "0xd00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323", | |
| "hash_type": "type", | |
| "args": "0x0001d635e123f57d58aff17d553c5a841b79dfd86026" | |
| }, | |
| "type": { | |
| "code_hash": "0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1b95", | |
| "hash_type": "data1", | |
| "args": "0xcf20e5a9a4a7be6806979b38e17dbc6f9d2355c0c540f4378a11d2bbf506fa2c" | |
| } | |
| }, | |
| { | |
| "capacity": "0x35a4e9000", | |
| "lock": { | |
| "code_hash": "0xd00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323", | |
| "hash_type": "type", | |
| "args": "0x000118785d056f05dc381c2e49cc3c0205148e08ba21" | |
| }, | |
| "type": { | |
| "code_hash": "0x50bd8d6680b8b9cf98b73f3c08faf8b2a21914311954118ad6609be6e78a1b95", | |
| "hash_type": "data1", | |
| "args": "0xcf20e5a9a4a7be6806979b38e17dbc6f9d2355c0c540f4378a11d2bbf506fa2c" | |
| } | |
| }, | |
| { | |
| "capacity": "0x56d48b458283", | |
| "lock": { | |
| "code_hash": "0xd00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323", | |
| "hash_type": "type", | |
| "args": "0x000118785d056f05dc381c2e49cc3c0205148e08ba21" | |
| } | |
| } | |
| ], | |
| "outputs_data": [ | |
| "0x00e87648170000000000000000000000", | |
| "0x004fccaac40b91a13b00000000000000", | |
| "0x" | |
| ], | |
| "header_deps": [], | |
| "witnesses": [ | |
| "0xd501000010000000d5010000d5010000c101000002e7f8271658e53f39ba45afaae84c5a99f51fcae812cfbe200d24c35e0f4749941f758af3b69f70912d6dabf17108363202f9c347a33405629a93dc1797cfe9ba564d71d56117e5d439dac6743cc854616c6935c8066aca38736c997f5c0cdf8c1e2123e85b7aa7e8701b1330d84fc66986623b2d2864f0d3f6c81d8dd13a01b2d280d9320d7862ad09b32103900596a08ba01a51863a8aac3f5ac1969360ae301d000000007b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a224d47557a4d5463304f574a695932466d4e324a6a4f475a6d4d6a55795a6d55314e4759304d5751334d574d775a6a4e6c4e44526a4e54526b4d5451784e5441304d6d557a597a41325a4467304e4445354d324d794e67222c226f726967696e223a2268747470733a2f2f6170702e6a6f792e6964222c2263726f73734f726967696e223a66616c73652c226f746865725f6b6579735f63616e5f62655f61646465645f68657265223a22646f206e6f7420636f6d7061726520636c69656e74446174614a534f4e20616761696e737420612074656d706c6174652e205365652068747470733a2f2f676f6f2e676c2f796162506578227d" | |
| ] | |
| }, | |
| "passthrough" | |
| ], | |
| "jsonrpc": "2.0" | |
| }' -H 'content-type: application/json' https://mainnet.ckbapp.dev/ |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{"jsonrpc":"2.0","error":{"code":-302,"message":"TransactionFailedToVerify: Verification failed Script(TransactionScriptError { source: Inputs[0].Lock, cause: ValidationFailure: see error code 21 on page https://nervosnetwork.github.io/ckb-script-error-codes/by-type-hash/d00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323.html#21 })","data":"Verification(Error { kind: Script, inner: TransactionScriptError { source: Inputs[0].Lock, cause: ValidationFailure: see error code 21 on page https://nervosnetwork.github.io/ckb-script-error-codes/by-type-hash/d00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323.html#21 }\n\nStack backtrace:\n 0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from\n 1: ckb_script::verify::TransactionScriptsVerifier<DL>::resumable_verify\n 2: ckb_tx_pool::process::<impl ckb_tx_pool::service::TxPoolService>::_resumeble_process_tx::{{closure}}::{{closure}}\n 3: ckb_tx_pool::process::<impl ckb_tx_pool::service::TxPoolService>::resumeble_process_tx::{{closure}}\n 4: ckb_tx_pool::service::process::{{closure}}\n 5: ckb_async_runtime::Handle::spawn::{{closure}}\n 6: tokio::runtime::task::raw::poll\n 7: tokio::runtime::scheduler::multi_thread::worker::Context::run_task\n 8: tokio::runtime::scheduler::multi_thread::worker::run\n 9: tokio::runtime::task::raw::poll\n 10: std::sys_common::backtrace::__rust_begin_short_backtrace\n 11: core::ops::function::FnOnce::call_once{{vtable.shim}}\n 12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9\n 13: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9\n 14: std::sys::unix::thread::Thread::new::thread_start\n at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17\n 15: start_thread\n 16: clone })"},"id":4379}%