Search
Search

Transaction: CiLzQau...hPAe

Status
Failed
Transaction Fee
0.00017 
Deposit Value
0 
Gas Used
1 Tgas
Attached Gas
200 Tgas
Created
June 26, 2024 at 8:01:34pm
Hash
CiLzQauP3hTsQWSAriwY3No5mF5iMs1Yy2enMPs9hPAe

Actions

Called method: 'register' in contract: query…tform.near
Arguments:
{ "function_name": "keypom_keys", "code": "\n // Add your code here\n const blockHeight = block.blockHeight;\n const blockTimestamp = block.header().timestampNanosec;\n\n const keypomReceipts = block\n .actions()\n .filter((r) => r.receiverId.includes(\".keypom.near\"));\n\n let mutationDatas = [];\n for (const receipt of keypomReceipts) {\n const addKeyActions = receipt.operations.filter((a) => a.AddKey);\n\n console.log(\"addKeyActions length: \" + addKeyActions.length);\n\n for (const action of addKeyActions) {\n let keyAction = {\n funder_id: receipt.signerId,\n block_height: blockHeight,\n block_timestamp: blockTimestamp,\n receipt_id: receipt.receiptId,\n public_key: action.AddKey.publicKey,\n };\n console.log(\"key action: \" + JSON.stringify(keyAction));\n mutationDatas.push(keyAction);\n }\n }\n\n if (mutationDatas.length > 0) {\n console.log(\"mutationDatas length: \" + mutationDatas.length);\n await context.db.Keys.upsert(\n mutationDatas,\n [\"public_key\", \"block_height\", \"block_timestamp\"],\n [\"funder_id\", \"receipt_id\"]\n );\n }\n", "schema": "CREATE TABLE\n \"keys\" (\n \"funder_id\" TEXT,\n \"block_height\" BIGINT,\n \"block_timestamp\" BIGINT,\n \"receipt_id\" TEXT,\n \"public_key\" TEXT,\n PRIMARY KEY (\"public_key\", \"block_height\", \"block_timestamp\")\n )\n", "start_block": { "HEIGHT": null }, "rule": { "kind": "ACTION_ANY", "affected_account_id": "social.near", "status": "SUCCESS" } }

Transaction Execution Plan

Convert Transaction To Receipt
Gas Burned:
311 Ggas
Tokens Burned:
0.00003 
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
1 Tgas
Tokens Burned:
0.00013 
Called method: 'register' in contract: query…tform.near
Arguments:
{ "function_name": "keypom_keys", "code": "\n // Add your code here\n const blockHeight = block.blockHeight;\n const blockTimestamp = block.header().timestampNanosec;\n\n const keypomReceipts = block\n .actions()\n .filter((r) => r.receiverId.includes(\".keypom.near\"));\n\n let mutationDatas = [];\n for (const receipt of keypomReceipts) {\n const addKeyActions = receipt.operations.filter((a) => a.AddKey);\n\n console.log(\"addKeyActions length: \" + addKeyActions.length);\n\n for (const action of addKeyActions) {\n let keyAction = {\n funder_id: receipt.signerId,\n block_height: blockHeight,\n block_timestamp: blockTimestamp,\n receipt_id: receipt.receiptId,\n public_key: action.AddKey.publicKey,\n };\n console.log(\"key action: \" + JSON.stringify(keyAction));\n mutationDatas.push(keyAction);\n }\n }\n\n if (mutationDatas.length > 0) {\n console.log(\"mutationDatas length: \" + mutationDatas.length);\n await context.db.Keys.upsert(\n mutationDatas,\n [\"public_key\", \"block_height\", \"block_timestamp\"],\n [\"funder_id\", \"receipt_id\"]\n );\n }\n", "schema": "CREATE TABLE\n \"keys\" (\n \"funder_id\" TEXT,\n \"block_height\" BIGINT,\n \"block_timestamp\" BIGINT,\n \"receipt_id\" TEXT,\n \"public_key\" TEXT,\n PRIMARY KEY (\"public_key\", \"block_height\", \"block_timestamp\")\n )\n", "start_block": { "HEIGHT": null }, "rule": { "kind": "ACTION_ANY", "affected_account_id": "social.near", "status": "SUCCESS" } }
Failure:
{
  "type": "action",
  "error": {
    "type": "functionCallError",
    "error": {
      "type": "executionError",
      "error": "Smart contract panicked: panicked at src/lib.rs:113:1:\nFailed to deserialize input from JSON.: Error(\"invalid type: null, expected u64\", line: 1, column: 1458)"
    }
  }
}
No logs
Receipt:
Predecessor ID:
Receiver ID:
Gas Burned:
223 Ggas
Tokens Burned:
0 
Transferred 0.06939  to root.benjiman.near
Empty result
No logs