Sign
Sign message
Path:
/api/v1/sign/message
Method:
Post
Content-type:
Json
Parameters:
wallet_index<int> wallet indexaddress<string> on-chain addressunsigned_message<string> message wait to be signed
Response:
code<int> response codemessage<string> response messagedata<json object>signature<string> the signature
Sign Ethereum
Path:
/api/v1/sign/ethereum
Method:
Post
Content-type:
Json
Parameters:
wallet_index<int> wallet indexaddress<string> wallet addresstransaction<json object>chain_id<int> the chain idnonce<int> nonce of this addressto<string> to addressvalue<string> valuegas_price<string> gas pricegas_limit<string> gas limitdata<string> data fieldtx_mode<int> 1: Legacy transaction, 2: EIP2718max_priority_fee_per_gas<string>max_fee_per_gas<string>
Response:
code<int> response codemessage<string> response messagedata<json object>signed_transaction<string>signature<string> the signature
Sign Solana
Path:
/api/v1/sign/solana
Method:
Post
Content-type:
Json
Parameters:
wallet_index<int>address<string>transaction<json object>Transfer <json object> optional, transfer solana
receipt<string> the receivervalue<string> the valuememo<string> the memo
Raw <json object array> optional, build raw transaction
recent_block_hash<string>instruction<json object> an instruction to execute a programprogram_id<string> index into the transaction keys array indicating the program account that executes this instructionaccount_meta<json object> ordered indices into the transaction keys array indicating which accounts to pass to the programaccount<string>is_signer<bool>is_read_only<bool>
data<string> the program input data, hex encoded bytes
Response:
code<int> response codemessage<string> response messagedata<json object>signed_transaction<string>signature<string> the signature
Sign Aptos
Path:
/api/v1/sign/aptos
Method:
Post
Content-type:
Json
Parameters:
wallet_index<int>address<string>transaction<json object>gas_unit_price<int>max_gas_amount<int>sequence_number<string>amount<int>recipient<string>chain_id<int>expiration_timestamp<int>payload<string> payload in Binary Canonical Serialization (BCS) format, encode into hex
Response:
code<int> response codemessage<string> response messagedata<json object>signed_transaction<string>signature<string> the signature
Last updated