Vana SDK - v4.1.0
Preparing search index...
index.browser
buildWithdrawAuthorizationTypedData
Function buildWithdrawAuthorizationTypedData
buildWithdrawAuthorizationTypedData
(
config
:
DataPortabilityGatewayConfig
,
message
:
WithdrawAuthorizationMessage
,
)
:
{
domain
:
TypedDataDomain
;
types
:
{
WithdrawAuthorization
:
readonly
[
{
name
:
"account"
;
type
:
"address"
}
,
{
name
:
"asset"
;
type
:
"address"
}
,
{
name
:
"amount"
;
type
:
"uint256"
}
,
{
name
:
"withdrawNonce"
;
type
:
"uint256"
}
,
{
name
:
"deadline"
;
type
:
"uint256"
}
,
]
;
}
;
primaryType
:
"WithdrawAuthorization"
;
message
:
WithdrawAuthorizationMessage
;
}
Builds the typed data a wallet must sign before calling the withdraw API.
Parameters
config
:
DataPortabilityGatewayConfig
message
:
WithdrawAuthorizationMessage
Returns
{
domain
:
TypedDataDomain
;
types
:
{
WithdrawAuthorization
:
readonly
[
{
name
:
"account"
;
type
:
"address"
}
,
{
name
:
"asset"
;
type
:
"address"
}
,
{
name
:
"amount"
;
type
:
"uint256"
}
,
{
name
:
"withdrawNonce"
;
type
:
"uint256"
}
,
{
name
:
"deadline"
;
type
:
"uint256"
}
,
]
;
}
;
primaryType
:
"WithdrawAuthorization"
;
message
:
WithdrawAuthorizationMessage
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Vana SDK - v4.1.0
Loading...
Builds the typed data a wallet must sign before calling the withdraw API.