@caravan/sdk API - v0.0.0
Preparing search index...
index
AttestationSigner
Interface AttestationSigner
interface
AttestationSigner
{
signTypedData
(
args
:
{
domain
:
{
chainId
:
number
;
name
:
string
;
version
:
string
}
;
message
:
{
manifestHash
:
`
0x
${
string
}
`
;
outcome
:
AttestationOutcome
;
poolId
:
string
;
realizedUnitPrice
:
bigint
;
role
:
AttestationRole
;
}
;
primaryType
:
"Attestation"
;
types
:
{
Attestation
:
readonly
[
{
name
:
"manifestHash"
;
type
:
"bytes32"
}
,
{
name
:
"poolId"
;
type
:
"string"
}
,
{
name
:
"role"
;
type
:
"string"
}
,
{
name
:
"outcome"
;
type
:
"string"
}
,
{
name
:
"realizedUnitPrice"
;
type
:
"uint256"
}
,
]
;
}
;
}
,
)
:
Promise
<
`
0x
${
string
}
`
>
;
}
Index
Methods
sign
Typed
Data
Methods
sign
Typed
Data
signTypedData
(
args
:
{
domain
:
{
chainId
:
number
;
name
:
string
;
version
:
string
}
;
message
:
{
manifestHash
:
`
0x
${
string
}
`
;
outcome
:
AttestationOutcome
;
poolId
:
string
;
realizedUnitPrice
:
bigint
;
role
:
AttestationRole
;
}
;
primaryType
:
"Attestation"
;
types
:
{
Attestation
:
readonly
[
{
name
:
"manifestHash"
;
type
:
"bytes32"
}
,
{
name
:
"poolId"
;
type
:
"string"
}
,
{
name
:
"role"
;
type
:
"string"
}
,
{
name
:
"outcome"
;
type
:
"string"
}
,
{
name
:
"realizedUnitPrice"
;
type
:
"uint256"
}
,
]
;
}
;
}
,
)
:
Promise
<
`
0x
${
string
}
`
>
Parameters
args
:
{
domain
:
{
chainId
:
number
;
name
:
string
;
version
:
string
}
;
message
:
{
manifestHash
:
`
0x
${
string
}
`
;
outcome
:
AttestationOutcome
;
poolId
:
string
;
realizedUnitPrice
:
bigint
;
role
:
AttestationRole
;
}
;
primaryType
:
"Attestation"
;
types
:
{
Attestation
:
readonly
[
{
name
:
"manifestHash"
;
type
:
"bytes32"
}
,
{
name
:
"poolId"
;
type
:
"string"
}
,
{
name
:
"role"
;
type
:
"string"
}
,
{
name
:
"outcome"
;
type
:
"string"
}
,
{
name
:
"realizedUnitPrice"
;
type
:
"uint256"
}
,
]
;
}
;
}
Returns
Promise
<
`
0x
${
string
}
`
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
sign
Typed
Data
@caravan/sdk API - v0.0.0
Loading...