mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 04:05:49 +00:00
Update account_escrows.py
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
from xrpl.models import AccountObjects
|
from xrpl.models import AccountObjects
|
||||||
from xrpl.utils import drops_to_xrp, ripple_time_to_datetime
|
from xrpl.utils import drops_to_xrp, ripple_time_to_datetime
|
||||||
|
from xrpl.clients import JsonRpcClient
|
||||||
|
|
||||||
# Retreive all escrows created or received by an account, formatted
|
# Retreive all escrows created or received by an account, formatted
|
||||||
|
|
||||||
|
client = JsonRpcClient("https://s.altnet.rippletest.net:51234") # connect to the testnetwork
|
||||||
|
|
||||||
account_address = "rxxxxxxxxxxxxxxxxxxxxxxxx"
|
account_address = "rxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||||
|
|
||||||
escrow_dict = {} # a dict to store all escrows
|
escrow_dict = {} # a dict to store all escrows
|
||||||
|
|||||||
Reference in New Issue
Block a user