Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 501 Bytes

receive.md

File metadata and controls

30 lines (22 loc) · 501 Bytes

##receive module

####receive Call the 'api/receive' endpoint and create a forwarding address. Returns a ReceiveResponse object.

Params:

dest_addr : str
callback : str
api_code : str (optional)

Usage:

from blockchain import receive

resp = receive.receive('1hNapz1CuH4DhnV1DFHH7hafwDE8FJRheA', 'http://your.url.com')

###Response object field definitions

####ReceiveResponse

fee_percent : int
destination_address : str
input_address : str
callback_url : str