dqpu.blockchain.near.NearBlockchain#

class dqpu.blockchain.near.NearBlockchain(account: str, network='testnet')#
__init__(account: str, network='testnet')#

Methods

__init__(account[, network])

add_verifier(account)

balance()

call(function_name, params[, amount])

clear_jobs()

connect()

contract_call(call_name, params)

create_account(name[, useFaucet])

get_all_jobs([reverse])

get_handled_amount()

get_job(id)

get_job_status(id)

get_jobs([from_index, limit])

get_jobs_paginated([from_index, to_index, ...])

get_jobs_stats([limit])

get_latest_jobs([limit])

get_number_of_jobs()

get_number_of_verifiers()

get_verifiers()

is_a_verifier(account)

load_account(account)

remove_job(id)

remove_verifier(account)

set_job_validity(id, valid[, trapped_file])

set_owner(account)

set_result_validity(id, valid[, trap_file])

submit_job(qubits, depth, shots, job_file, ...)

submit_job_result(id, result_file, deposit)

view(view_name, params)