Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
DuniterPy
Merge requests
!49
BMA: Add tx/history/{%pubkey}/pending method
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
BMA: Add tx/history/{%pubkey}/pending method
bma_tx_history_pending
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Closed
Moul
requested to merge
bma_tx_history_pending
into
master
6 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Doc
Edited
6 years ago
by
Moul
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
50d13649
1 commit,
6 years ago
1 file
+
11
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
duniterpy/api/bma/tx.py
+
11
−
0
Options
@@ -211,6 +211,17 @@ async def history(client: Client, pubkey: str) -> dict:
return
await
client
.
get
(
MODULE
+
'
/history/%s
'
%
pubkey
,
schema
=
HISTORY_SCHEMA
)
async
def
history_pending
(
client
:
Client
,
pubkey
:
str
)
->
dict
:
"""
Get pending transactions history of public key
:param client: Client to connect to the api
:param pubkey: Public key
:return:
"""
return
await
client
.
get
(
MODULE
+
'
/history/%s/pending
'
%
pubkey
,
schema
=
HISTORY_SCHEMA
)
async
def
process
(
client
:
Client
,
transaction_signed_raw
:
str
)
->
ClientResponse
:
"""
POST a transaction raw document
Loading