Ethereum & EVM compatible
Sign Transaction
The D'CENT Web SDK provides functions for signing transaction of coins.
getEthereumSignedTransaction()
Supported Coin Type
ETHEREUM
RSK
XDC
Parameters
coinType
nonce
gasPrice
gasLimit
to (address)
value
data
key path for signing
chain ID
Returned response object:
getTokenSignedTransaction()
Supported Coin Type
ERC20
RRC20
XRC20
Parameters
coinType
nonce
gasPrice
gasLimit
value
key path for signing
chain ID
contract information :
Returned response object
Ethereum Signed Massage
You can get a signature value to sign a user message with that private key With a given key path (BIP32). The input message is prefixed with 'Ethereum sign message' and then hashed and signed.
Returned response object
Signed Data
You can get a signature value to sign message with that private key With a given key path (BIP32). The input data is hex string format. The input data is hashed and signed.
Returned response object
Signed Message
You can get a signature value to sign a user message with that private key With a given key path (BIP32). The input message is prefixed depending on the coin type and then hashed and signed.
Returned response object
Please Refer to the sample/index.js
to learn more about how to use the SDK APIs. There is a node.js program using our CLI SDK.
Last updated