Function indy::api::ledger::indy_build_claim_def_txn [] [src]

#[no_mangle]
pub extern "C" fn indy_build_claim_def_txn(
    command_handle: i32,
    submitter_did: *const c_char,
    xref: i32,
    signature_type: *const c_char,
    data: *const c_char,
    cb: Option<extern "C" fn(_: i32, _: ErrorCode, _: *const c_char)>
) -> ErrorCode

Builds an CLAIM_DEF request.

Params

command_handle: command handle to map callback to caller context. submitter_did: Id of Identity stored in secured Wallet. xref: Seq. number of schema signature_type: signature type (only CL supported now) data: components of a key in json: N, R, S, Z cb: Callback that takes command result as parameter.

Returns

Request result as json.

Errors

Common*