@acala-network/chopsticks-core
@acala-network/chopsticks-core / decodeKeyValue
Function: decodeKeyValue()
decodeKeyValue(
meta
,key
,value
?,toHuman
?):undefined
| {key
:any
[];method
:string
;section
:string
;value
:AnyJson
; }
Defined in: packages/core/src/utils/decoder.ts:58
Parameters
meta
DecoratedMeta
key
`0x${string}`
value?
null
| `0x${string}`
toHuman?
boolean
= true
Returns
undefined
| { key
: any
[]; method
: string
; section
: string
; value
: AnyJson
; }