TESTING YOUR API IN THE SWAGGER UI

A simple way to sign a transaction as it is returned from the SIMBA Chain API. If using Swagger, you can paste the raw transaction, along with the mnemonic for your wallet, and it will output a signed transaction. The code is available here:

https://github.com/SIMBAChain/SimpleEthSigner

 

STEP 1

Call a transaction

 

 

STEP 2

Sign the transaction – Copy the payload -> raw node from the response body when calling the transaction. Go to https://simplesigner.simbachain.com/, paste the body into the “Unsigned transaction” field. Enter the Mnemonic for your wallet into the mnemonic field, then hit sign.

 

 

STEP 3

Send the signed transaction back. Find the “Submit a signed transaction” call. Paste in your signed transaction into the payload as seen below. Grab the returned transaction ID from the response body of the initial call, and put it in the txn id field here.

 

 

STEP 4

On success, you should see this, then after a minute or two, the dashboard should show the full details.