Subscribe to VET transfers with a given criteria.
Example:
const ws = new WebSocket('ws://localhost:8669/subscriptions/transfer?sender=0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa')
ws.onmessage = (event) => {
console.log(event.data)
}
A saved block ID for resuming the subscription. If omitted, the best block ID is assumed.
Note: If the provided position is too far behind the best block, a 403 error will be thrown. The allowable difference depends on the configuration of each node.
See the argument api-backtrace-limit
when starting a node.
^(0x)?[0-9a-fA-F]{64}$
The address from which the transaction was sent.
0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa
The address that received the VET.
0x45429a2255e7248e57fce99e7239aed3f84b7a53
The address that sent the VET. In most cases this is the same as txOrigin
, but it may be different if the VET was sent by a contract.
0x6d95e6dca01d109882fe1726a2fb9865fa41e7aa