Preparing search index...
The search index is not available
@sentio/sdk
@sentio/sdk
solana
SolanaBaseProcessor
Class SolanaBaseProcessor
Hierarchy (
View Summary
)
SolanaBaseProcessor
SPLTokenProcessor
Index
Constructors
constructor
Properties
address
base
Labels?
config
contract
Name
endpoint
from
Parsed
Instruction
instruction
Coder
instruction
Handler
Map
network
process
Inner
Instruction
Methods
decode
Instruction
end
Block
get
Instruction
Handler
get
Parsed
Instruction
handle
Instruction
on
Instruction
start
Slot
Constructors
constructor
new
SolanaBaseProcessor
(
options
:
SolanaBindOptions
)
:
SolanaBaseProcessor
Parameters
options
:
SolanaBindOptions
Returns
SolanaBaseProcessor
Properties
address
address
:
string
Optional
base
Labels
baseLabels
?:
Labels
config
config
:
IndexConfigure
= ...
contract
Name
contractName
:
string
endpoint
endpoint
:
string
from
Parsed
Instruction
fromParsedInstruction
:
(
instruction
:
{
info
:
any
;
type
:
string
}
,
)
=>
null
|
Instruction
instruction
Coder
instructionCoder
:
InstructionCoder
instruction
Handler
Map
instructionHandlerMap
:
Map
<
string
,
SolanaInstructionHandler
>
= ...
network
network
:
SolanaChainId
process
Inner
Instruction
processInnerInstruction
:
boolean
Methods
decode
Instruction
decodeInstruction
(
rawInstruction
:
string
)
:
null
|
Instruction
Parameters
rawInstruction
:
string
Returns
null
|
Instruction
end
Block
endBlock
(
endBlock
:
number
|
bigint
)
:
SolanaBaseProcessor
Parameters
endBlock
:
number
|
bigint
Returns
SolanaBaseProcessor
get
Instruction
Handler
getInstructionHandler
(
parsedInstruction
:
Instruction
,
)
:
undefined
|
SolanaInstructionHandler
Parameters
parsedInstruction
:
Instruction
Returns
undefined
|
SolanaInstructionHandler
get
Parsed
Instruction
getParsedInstruction
(
ins
:
string
|
{
info
:
any
;
type
:
string
}
,
)
:
null
|
Instruction
Parameters
ins
:
string
|
{
info
:
any
;
type
:
string
}
Returns
null
|
Instruction
handle
Instruction
handleInstruction
(
parsedInstruction
:
Instruction
,
accounts
:
string
[]
,
handler
:
SolanaInstructionHandler
,
slot
:
bigint
,
)
:
Promise
<
ProcessResult
>
Parameters
parsedInstruction
:
Instruction
accounts
:
string
[]
handler
:
SolanaInstructionHandler
slot
:
bigint
Returns
Promise
<
ProcessResult
>
on
Instruction
onInstruction
(
instructionName
:
string
,
handler
:
SolanaInstructionHandler
,
)
:
SolanaBaseProcessor
Parameters
instructionName
:
string
handler
:
SolanaInstructionHandler
Returns
SolanaBaseProcessor
start
Slot
startSlot
(
startSlot
:
number
|
bigint
)
:
SolanaBaseProcessor
Parameters
startSlot
:
number
|
bigint
Returns
SolanaBaseProcessor
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
address
base
Labels
config
contract
Name
endpoint
from
Parsed
Instruction
instruction
Coder
instruction
Handler
Map
network
process
Inner
Instruction
Methods
decode
Instruction
end
Block
get
Instruction
Handler
get
Parsed
Instruction
handle
Instruction
on
Instruction
start
Slot
@sentio/sdk
Loading...