@@ -1264,6 +1264,7 @@ def get_transactions(
12641264 }
12651265 outgoing_payment_payment_preimage: payment_preimage
12661266 outgoing_payment_is_internal_payment: is_internal_payment
1267+ outgoing_payment_idempotency_key: idempotency_key
12671268 }
12681269 ... on RoutingTransaction {
12691270 __typename
@@ -1713,15 +1714,16 @@ def get_withdrawal_requests(
17131714 bitcoin_networks : Optional [List [BitcoinNetwork ]] = None ,
17141715 statuses : Optional [List [WithdrawalRequestStatus ]] = None ,
17151716 node_ids : Optional [List [str ]] = None ,
1717+ idempotency_keys : Optional [List [str ]] = None ,
17161718 after_date : Optional [datetime ] = None ,
17171719 before_date : Optional [datetime ] = None ,
17181720 ) -> AccountToWithdrawalRequestsConnection :
17191721 json = self .requester .execute_graphql (
17201722 """
1721- query FetchAccountToWithdrawalRequestsConnection($entity_id: ID!, $first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $after_date: DateTime, $before_date: DateTime) {
1723+ query FetchAccountToWithdrawalRequestsConnection($entity_id: ID!, $first: Int, $after: String, $bitcoin_networks: [BitcoinNetwork!], $statuses: [WithdrawalRequestStatus!], $node_ids: [ID!], $idempotency_keys: [String!], $ after_date: DateTime, $before_date: DateTime) {
17221724 entity(id: $entity_id) {
17231725 ... on Account {
1724- withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, after_date: $after_date, before_date: $before_date) {
1726+ withdrawal_requests(, first: $first, after: $after, bitcoin_networks: $bitcoin_networks, statuses: $statuses, node_ids: $node_ids, idempotency_keys: $idempotency_keys, after_date: $after_date, before_date: $before_date) {
17251727 __typename
17261728 account_to_withdrawal_requests_connection_count: count
17271729 account_to_withdrawal_requests_connection_page_info: page_info {
@@ -1783,6 +1785,7 @@ def get_withdrawal_requests(
17831785 withdrawal_request_withdrawal: withdrawal {
17841786 id
17851787 }
1788+ withdrawal_request_idempotency_key: idempotency_key
17861789 }
17871790 }
17881791 }
@@ -1796,6 +1799,7 @@ def get_withdrawal_requests(
17961799 "bitcoin_networks" : bitcoin_networks ,
17971800 "statuses" : statuses ,
17981801 "node_ids" : node_ids ,
1802+ "idempotency_keys" : idempotency_keys ,
17991803 "after_date" : after_date ,
18001804 "before_date" : before_date ,
18011805 },
0 commit comments