Skip to content

Conversation

@heifner
Copy link
Contributor

@heifner heifner commented Jun 2, 2025

Add core.vaulta.abi and update eosio.* abis in trace_api_plugin example abis.

Example output with:

--plugin eosio::trace_api_plugin --trace-rpc-abi eosio=../../../plugins/trace_api_plugin/examples/abis/eosio.abi --trace-rpc-abi eosio.token=../../../plugins/trace_api_plugin/examples/abis/eosio.token.abi --trace-rpc-abi core.vaulta=../../../plugins/trace_api_plugin/examples/abis/core.vaulta.abi
curl  http://127.0.0.1:8888/v1/trace_api/get_block -d '{"block_num": 439273660}' | jq  

...
        {
          "global_sequence": "363985764702",
          "receiver": "eosiopowcoin",
          "account": "eosio.token",
          "action": "transfer",
          "authorization": [
            {
              "account": "eosiopowcoin",
              "permission": "active"
            }
          ],
          "data": "301d459c56ea3055502f459566aca461010000000000000004454f53000000000a526566756e6420454f53",
          "return_value": "",
          "params": {
            "from": "eosiopowcoin",
            "to": "gamestopcorp",
            "quantity": "0.0001 EOS",
            "memo": "Refund EOS"
          }
        },
 
...

        {
          "global_sequence": "363985764725",
          "receiver": "dex.velox",
          "account": "core.vaulta",
          "action": "transfer",
          "authorization": [
            {
              "account": "1aaaaim.sat",
              "permission": "active"
            }
          ],
          "data": "00b2c1403a638c090000e834aa0dba4a14bb05000000000004410000000000001c61646466756e642d392d3161616161696d2e73617440747261646572",
          "return_value": "",
          "params": {
            "from": "1aaaaim.sat",
            "to": "dex.velox",
            "quantity": "37.5572 A",
            "memo": "addfund-9-1aaaaim.sat@trader"
          }
        },

Resolves #1562

@heifner heifner added the OCI Work exclusive to OCI team label Jun 2, 2025
@heifner heifner marked this pull request as ready for review June 3, 2025 12:17
@heifner heifner changed the base branch from main to release/1.2 June 3, 2025 12:18
@heifner heifner requested review from linh2931 and spoonincode June 3, 2025 12:18
@heifner heifner merged commit 564b857 into release/1.2 Jun 3, 2025
49 of 51 checks passed
@heifner heifner deleted the GH-1562-trace-api-vaulta-1.2 branch June 3, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCI Work exclusive to OCI team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add core.vaulta abi to trace_api_plugin example abis

4 participants