Interface TransactionResult

Hierarchy

  • TransactionResult

Properties

asConfirmed: {
    block: {
        hash: `0x${string}`;
        number: BigInt;
    };
    didDocument: DidDocument<DidUrl>;
    events: GenericEvent[];
    signers: SignerInterface<string, string>[];
    toJSON: (() => any);
    txHash: `0x${string}`;
}

Type declaration

  • block: {
        hash: `0x${string}`;
        number: BigInt;
    }
    • hash: `0x${string}`
    • number: BigInt
  • didDocument: DidDocument<DidUrl>
  • events: GenericEvent[]
  • signers: SignerInterface<string, string>[]
  • toJSON: (() => any)
      • (): any
      • Returns any

  • txHash: `0x${string}`
asFailed: {
    block: {
        hash: `0x${string}`;
        number: BigInt;
    };
    didDocument?: DidDocument<DidUrl>;
    error: Error;
    events: GenericEvent[];
    signers: SignerInterface<string, string>[];
    toJSON: (() => any);
    txHash: `0x${string}`;
}

Type declaration

  • block: {
        hash: `0x${string}`;
        number: BigInt;
    }
    • hash: `0x${string}`
    • number: BigInt
  • Optional didDocument?: DidDocument<DidUrl>
  • error: Error
  • events: GenericEvent[]
  • signers: SignerInterface<string, string>[]
  • toJSON: (() => any)
      • (): any
      • Returns any

  • txHash: `0x${string}`
asRejected: {
    didDocument?: DidDocument<DidUrl>;
    error: Error;
    signers: SignerInterface<string, string>[];
    txHash: `0x${string}`;
}

Type declaration

asUnknown: {
    error: Error;
    txHash: `0x${string}`;
}

Type declaration

  • error: Error
  • txHash: `0x${string}`
status: "confirmed" | "failed" | "rejected" | "unknown"
toJSON: (() => any)

Type declaration

    • (): any
    • Returns any