Request Data Signing
POST/2.0/wallets/:walletIdx/data/sign
Requests data signing with the key of an address in the wallet. Returns the uuid of the request. Currently supports the Ethereum, Kaia, Scon, BSC, Polygon, Jart, Wemix, Arbitrum, Avalanche, Kon, Kroma, Ksta, Plasma, Giwa, Maroo, Arc, and Tempo platforms.
Data signing from an address that uses MPC key management supports only the EIP191, EIP712, and KIP97 types. Octet computes the hash to be signed and returns it as message in mpc.mpcSigningTargets of the response; request signing from the MPC agent installed on your server using the mpc information (token, mpcSigningTargets) in the response. If MPC signing is not completed within 2 minutes (120 seconds; see mpc.expiredDate in the response for the exact time) of the request, the signing request expires (EXPIRED) and fails (FAILED), so submit a new signing request to retry.
Once signing is complete, serializedSignedData returned by the Get Data Signing Request Information API is the RLP encoding of the 65-byte signature (r ‖ s ‖ v, where v = 27 + recovery id), in the form 0xb841 + r + s + v.
Request
Responses
- 201
Success