Keystore

Keys management system

Rockside provides a key management system. You can use it as a signature service to sign transactions and messages.

To access the forwarder API you need an API Key. It's available by registering on Rockside Dashboard.

post
Create EOA Account

https://api.rockside.io/ethereum/eoa
Create an account (EOA). Those accounts will need ether to send transaction.
Request
Response
Request
Headers
apikey
required
string
Your API key is available on Rockside Dashboard.
Response
200: OK
{
"address": "0x273e3d3ae721f0137d16cbd168c495e70e046dd4"
}

Example:

curl -X POST \
https://api.rockside.io/ethereum/eoa \
-H 'Content-Length: 0' \
-H 'apikey: YOUR_API_KEY'

get
List EOA Accounts

https://api.rockside.io/ethereum/eoa
List all your accounts (EOA).
Request
Response
Request
Headers
apikey
required
string
Your API key is available on Rockside Dashboard.
Response
200: OK
[
"0x60d44d28c826cff5d05ee57526e20103cdac1c9a",
"0x642aa2e540bb7172c487d5e2c315ad81b27070af",
"0x55f42ec257a6ec1b77735f5c9428d954e36c62c2",
"0xfb56d1a1ec09c9dac3870db4ab9516e646f167fc"
]

Example:

curl -X GET \
https://api.rockside.io/ethereum/eoa \
-H 'apikey: YOUR_API_KEY'

post
Sign transaction

https://api.rockside.io/ethereum/eoa/EOA_ADDRESS/sign
Sign a transaction to send it with sendRawTransaction
Request
Response
Request
Path Parameters
EOA_ADDRESS
required
string
address of the EOA to use to sign the transaction
Headers
apikey
required
string
Your API Key is available on Rockside dashboard
Body Parameters
network_id
required
string
Blockchain network id
nonce
required
string
Sender nonce to use
to
optional
string
Destination address
value
optional
string
Value of transaction
data
optional
string
Data of the transaction
gasPrice
optional
string
GasPrice of the transaction
gas
optional
string
Gas of the transaction
Response
200: OK
{
"signed_transaction": "0xf85f01808276c0947c869a955e4846e5f6e28fb525b0200d03159e1680801ba09ca643357e2e3e4c0ee9f8a61b1ffb377b6acd453b5a1582fde4360888b31f34a072718acf37e7bcc4ad46e22a8eb6e386e1ad8629e57a3c5ceaccf55a325367a7"
}

Example:

curl -X POST \
https://api.rockside.io/ethereum/eoa/0x7e4470895cc2815cb09b05ad480574d518b4a92b/sign \
-H 'apikey: YOUR_API_KEY' \
-d '{"from":"0x7e4470895cc2815cb09b05ad480574d518b4a92b",
"to":"0x7c869a955e4846e5f6e28fb525b0200d03159e16",
"gas":"0x76c0",
"gasPrice":"0x0",
"value":"0x0",
"network_id": "1",
"nonce":"1" }'

post
Sign Message

https://api.rockside.io/ethereum/eoa/EOA_ADDRESS/sign-message
Sign a message
Request
Response
Request
Path Parameters
EOA_ADDRESS
required
string
address of the EOA to use to sign the transaction
Headers
apikey
required
string
Your API Key is available on Rockside dashboard
Body Parameters
message
required
string
Keccak hash of the message to sign
Response
200: OK
{
"signed_message": "0xc352bbfc7049da9890467b6254faf4dc3f2743ad5531ded061df4814295f185365daca00a3b1fc60a0cbf88039466bb70c071d142d89ab45d9c15c4e77fae28001"
}

Example:

curl -X POST https://api.rockside.io/ethereum/eoa/0x7e4470895cc2815cb09b05ad480574d518b4a92b/sign-message \
-H 'apikey: API_KEY' \
-H 'Content-Type: application/json' \
-d '{"message":"0x3877c10b1c024084aef6141a712640a7fad4bf9cd7ba195f112e2543e229c8bb" }'