Sign Message
Sign Type
Type
Message
// Sign message based on specific chain
BloctoSDK.evm.signMessage(
context = context,
blockchain = Blockchain.ETHEREUM,
fromAddress = address,
signType = [EvmSignType.ETH_SIGN/EvmSignType.PERSONAL_SIGN/...],
message = message,
onSuccess = { signature ->
// get signature
},
onError = { error ->
// handle error
}
)Last updated
Was this helpful?