Validate Transaction
This method analyzes a transaction, checking to see if it will end up sending assets to a malicious address.
validateTransaction
POST
https://api.harpie.io/v2/validateTransaction
Get insights on the safety of a transaction. Addresses with no relevant data default to a recommended action of "ALLOW."
Request Body
apiKey*
String
Your API key. You can find this in your dashboard.
from*
String
The address that the transaction is originating from.
This is the .from
parameter of an Ethereum transaction.
to*
String
The address that the transaction is being sent to.
This is the .to
parameter of an Ethereum transaction.
data*
String
The data being passed along with the transaction.
This is the .data
parameter of an Ethereum transaction. If no data exists, use "0x" by default.
value*
Number
The value being sent along with the transaction.
This is the .value
parameter of an Ethereum transaction
Example query:
Example response:
Last updated