Request Data Signing

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required

Wallet index

Body Params
string
required

Address to sign with. Accepts the main address, and child addresses of child address withdrawal type (CHILD_WITHDRAWAL) wallets.

string

PIN of the signing address. Required if the signing address is a child address that uses a PIN.

data
object
required

Data to be signed. Enter a string for EIP191 and KIP97, and TypedData for EIP712.

string
enum
required

Type of data to sign.

Allowed:
string

User key encrypted with the RSA public key. Required when the key management type of the main address is co-managed (HEXLANT_MULTISIG) and the sending address is the main address.
You can find the RSA public key under Developer Tools in the Octet console.

Headers
string
required
Defaults to Bearer

API token

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json