solana-explorer: add map_filter_transactions module
This commit is contained in:
@@ -10,8 +10,8 @@ imports:
|
||||
|
||||
protobuf:
|
||||
files:
|
||||
- block_meta.proto
|
||||
- program_instructions.proto
|
||||
- block.proto
|
||||
- transactions.proto
|
||||
importPaths:
|
||||
- ./proto
|
||||
|
||||
@@ -45,9 +45,20 @@ modules:
|
||||
- params: string
|
||||
- source: sf.solana.type.v1.Block
|
||||
output:
|
||||
type: proto:sol.programs.v1.Instructions
|
||||
type: proto:sol.transactions.v1.Instructions
|
||||
doc: |
|
||||
`map_filter_instructions` allows you to get instructions executed by a certain `program_id`, and returns the raw Instruction data model.
|
||||
|
||||
- name: map_filter_transactions
|
||||
kind: map
|
||||
inputs:
|
||||
- params: string
|
||||
- source: sf.solana.type.v1.Block
|
||||
output:
|
||||
type: proto:sol.transactions.v1.Transactions
|
||||
doc: |
|
||||
`map_filter_transaction` allows you to find a transaction by hash. You need to scope your search to the blocks you know you're going to find that transaction. Check with your preferred block explorer first.
|
||||
|
||||
params:
|
||||
map_filter_instructions: "program_id=Stake11111111111111111111111111111111111111"
|
||||
map_filter_transactions: "signature=21ED2HBGuLUwgbaBb77cGwFR8MkVQfjR9KszzCb7jZkeSysJkHAVew6RaaBh3r1zTefpdq9Kf5geFp19P3nUXB3t"
|
||||
|
||||
Reference in New Issue
Block a user