@sentio/sdk
Preparing search index...
.
TSRequest
Variable TSRequest
TSRequest
:
{
create
(
base
?:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
(...)
|
(...)
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
,
)
:
TSRequest
;
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
,
)
:
TSRequest
;
encode
(
message
:
TSRequest
,
writer
?:
Writer
)
:
Writer
;
fromJSON
(
object
:
any
)
:
TSRequest
;
fromPartial
(
object
:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
undefined
|
string
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
,
)
:
TSRequest
;
toJSON
(
message
:
TSRequest
)
:
unknown
;
}
Type Declaration
create
:
function
create
(
base
?:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
(...)
|
(...)
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
,
)
:
TSRequest
Parameters
Optional
base
:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
(...)
|
(...)
}
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
(...)
|
(...)
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
Returns
TSRequest
decode
:
function
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
)
:
TSRequest
Parameters
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
Optional
length
:
number
Returns
TSRequest
encode
:
function
encode
(
message
:
TSRequest
,
writer
?:
Writer
)
:
Writer
Parameters
message
:
TSRequest
Optional
writer
:
Writer
Returns
Writer
fromJSON
:
function
fromJSON
(
object
:
any
)
:
TSRequest
Parameters
object
:
any
Returns
TSRequest
fromPartial
:
function
fromPartial
(
object
:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
undefined
|
string
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
,
)
:
TSRequest
Parameters
object
:
{
data
?:
{
data
?:
{
fields
?:
{
[
key
:
string
]:
|
undefined
|
{
bigdecimalValue
?:
...
;
bigintValue
?:
...
;
boolValue
?:
...
;
bytesValue
?:
...
;
floatValue
?:
...
;
int64Value
?:
...
;
intValue
?:
...
;
listValue
?:
...
;
nullValue
?:
...
;
stringValue
?:
...
;
structValue
?:
...
;
timestampValue
?:
...
;
tokenValue
?:
...
;
}
;
}
;
}
;
metadata
?:
{
address
?:
string
;
blockNumber
?:
bigint
;
chainId
?:
string
;
contractName
?:
string
;
labels
?:
{
[
key
:
string
]:
undefined
|
string
}
;
logIndex
?:
number
;
name
?:
string
;
transactionHash
?:
string
;
transactionIndex
?:
number
;
}
;
runtimeInfo
?:
{
from
?:
HandlerType
}
;
type
?:
TimeseriesResult_TimeseriesType
;
}
[]
;
}
Returns
TSRequest
toJSON
:
function
toJSON
(
message
:
TSRequest
)
:
unknown
Parameters
message
:
TSRequest
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@sentio/sdk
Loading...