Docs
GitHub
Preparing search index...
The search index is not available
Fuels TS SDK API Documentation
Fuels TS SDK API Documentation
@fuel-ts/transactions
InputMessageCoder
Class InputMessageCoder
Hierarchy (
view full
)
Coder
<
InputMessage
,
InputMessage
>
InputMessageCoder
Index
Constructors
constructor
Properties
encoded
Length
name
type
Methods
decode
encode
decode
Data
encode
Data
get
Message
Id
Constructors
constructor
new
Input
Message
Coder
(
)
:
InputMessageCoder
Returns
InputMessageCoder
Properties
Readonly
encoded
Length
encoded
Length
:
number
Readonly
name
name
:
string
Readonly
type
type
:
string
Methods
decode
decode
(
data
,
offset
)
:
[
InputMessage
,
number
]
Parameters
data
:
Uint8Array
offset
:
number
Returns
[
InputMessage
,
number
]
encode
encode
(
value
)
:
Uint8Array
Parameters
value
:
InputMessage
Returns
Uint8Array
Static
decode
Data
decode
Data
(
messageData
)
:
Uint8Array
Parameters
messageData
:
BytesLike
Returns
Uint8Array
Static
encode
Data
encode
Data
(
messageData
?
)
:
Uint8Array
Parameters
Optional
messageData
:
BytesLike
Returns
Uint8Array
Static
get
Message
Id
get
Message
Id
(
value
)
:
string
Parameters
value
:
Pick
<
InputMessage
,
|
"sender"
|
"recipient"
|
"nonce"
|
"amount"
|
"data"
>
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
encoded
Length
name
type
Methods
decode
encode
decode
Data
encode
Data
get
Message
Id
Docs
GitHub
Fuels TS SDK API Documentation
Loading...