Get signature for a tx data
POST/customer-tx-auth-signature
Get signature for a tx auth data.
Request
- application/json
Body
required
workflowId uuid
chainId stringrequired
Possible values: [1
, 137
, 80002
, 43114
, 43113
, 42161
, 421614
, 11155111
, 8453
, 84532
, 56
, 97
, 1284
, 1285
, 10
, 11155420
, 1291
]
a numeric value that identifies the chain of the address. There are many sites that retrieve information on chainIDs such as https://chainlist.org.
contractAbi object[]required
contractAddress stringrequired
String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet.
functionName stringrequired
args undefined[]required
userAddress stringrequired
String value that identifies the address of a specific user. Normally tied to an EOA that includes the Smart Wallet.
blockExpiration integer
nonce integer
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
anyOf
isAuthorized booleanrequired
Possible values: [true
]
signature stringrequired
0x string
payload stringrequired
blockExpiration numberrequired
isAuthorized booleanrequired
Possible values: [false
]
errorMessage
{}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...