@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ApiDapp
@base https://ethereum.apidapp.com/1
@version 2019-02-14T16:47:01Z
@auth ApiKey X-Api-Key in header
@endpoints 54
@hint download_for_search
@toc root(1), account(4), block(8), blockchain(4), contract(5), echo(1), erc20(6), key(5), transaction(6), version(2), wallet(12)

@group root
@endpoint OPTIONS /
@returns(200)

@endgroup

@group account
@endpoint POST /account
@returns(200)

@endpoint OPTIONS /account
@returns(200)

@endpoint GET /account/{id}
@required {id: any}
@returns(200)

@endpoint OPTIONS /account/{id}
@returns(200)

@endgroup

@group block
@endpoint GET /block
@returns(200)

@endpoint OPTIONS /block
@returns(200)

@endpoint GET /block/{id}
@required {id: any}
@returns(200)

@endpoint OPTIONS /block/{id}
@returns(200)

@endpoint GET /block/{id}/transaction
@required {id: any}
@returns(200)

@endpoint OPTIONS /block/{id}/transaction
@returns(200)

@endpoint GET /block/{id}/transaction/{index}
@required {index: any, id: any}
@returns(200)

@endpoint OPTIONS /block/{id}/transaction/{index}
@returns(200)

@endgroup

@group blockchain
@endpoint GET /blockchain
@returns(200)

@endpoint OPTIONS /blockchain
@returns(200)

@endpoint GET /blockchain/{id}
@required {id: any}
@returns(200)

@endpoint OPTIONS /blockchain/{id}
@returns(200)

@endgroup

@group contract
@endpoint POST /contract
@returns(200)

@endpoint OPTIONS /contract
@returns(200)

@endpoint GET /contract/{id}
@required {id: any}
@returns(200)

@endpoint POST /contract/{id}
@required {id: any}
@returns(200)

@endpoint OPTIONS /contract/{id}
@returns(200)

@endgroup

@group echo
@endpoint OPTIONS /echo
@returns(200)

@endgroup

@group erc20
@endpoint GET /erc20
@returns(200)

@endpoint POST /erc20
@returns(200)

@endpoint OPTIONS /erc20
@returns(200)

@endpoint GET /erc20/{address}
@required {address: any}
@returns(200)

@endpoint POST /erc20/{address}
@required {address: any}
@returns(200)

@endpoint OPTIONS /erc20/{address}
@returns(200)

@endgroup

@group key
@endpoint GET /key
@optional {token: any}
@returns(200)

@endpoint POST /key
@returns(200)

@endpoint OPTIONS /key
@returns(200)

@endpoint DELETE /key/{key}
@required {key: any}
@returns(200)

@endpoint OPTIONS /key/{key}
@returns(200)

@endgroup

@group transaction
@endpoint POST /transaction
@returns(200)

@endpoint OPTIONS /transaction
@returns(200)

@endpoint GET /transaction/{hash}
@required {hash: any}
@returns(200)

@endpoint OPTIONS /transaction/{hash}
@returns(200)

@endpoint GET /transaction/{hash}/receipt
@required {hash: any}
@returns(200)

@endpoint OPTIONS /transaction/{hash}/receipt
@returns(200)

@endgroup

@group version
@endpoint GET /version
@returns(200)

@endpoint OPTIONS /version
@returns(200)

@endgroup

@group wallet
@endpoint GET /wallet
@returns(200)

@endpoint POST /wallet
@returns(200)

@endpoint OPTIONS /wallet
@returns(200)

@endpoint GET /wallet/account
@returns(200)

@endpoint POST /wallet/account
@returns(200)

@endpoint OPTIONS /wallet/account
@returns(200)

@endpoint GET /wallet/account/{id}
@required {id: any}
@returns(200)

@endpoint OPTIONS /wallet/account/{id}
@returns(200)

@endpoint POST /wallet/account/{id}/contract
@required {id: any}
@returns(200)

@endpoint POST /wallet/account/{id}/erc20
@required {id: any}
@returns(200)

@endpoint POST /wallet/account/{id}/pay
@required {id: any}
@returns(200)

@endpoint OPTIONS /wallet/account/{id}/pay
@returns(200)

@endgroup

@end
