Module: EverSdk::Proofs
- Defined in:
- lib/ever_sdk_client/proofs.rb
Defined Under Namespace
Modules: ErrorCode
Constant Summary collapse
- ParamsOfProofBlockData =
KwStruct.new(:block)
- ParamsOfProofTransactionData =
KwStruct.new(:transaction)
- ParamsOfProofMessageData =
KwStruct.new(:message)
Class Method Summary collapse
-
.proof_block_data(ctx, params) ⇒ Object
functions.
- .proof_message_data(ctx, params) ⇒ Object
- .proof_transaction_data(ctx, params) ⇒ Object
Class Method Details
.proof_block_data(ctx, params) ⇒ Object
functions
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/ever_sdk_client/proofs.rb', line 25 def self.proof_block_data(ctx, params) Interop::request_to_native_lib(ctx, "proofs.proof_block_data", params) do |resp| if resp.success? yield NativeLibResponseResult.new( result: "" ) else yield resp end end end |
.proof_message_data(ctx, params) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 |
# File 'lib/ever_sdk_client/proofs.rb', line 49 def self.(ctx, params) Interop::request_to_native_lib(ctx, "proofs.proof_message_data", params) do |resp| if resp.success? yield NativeLibResponseResult.new( result: "" ) else yield resp end end end |
.proof_transaction_data(ctx, params) ⇒ Object
37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/ever_sdk_client/proofs.rb', line 37 def self.proof_transaction_data(ctx, params) Interop::request_to_native_lib(ctx, "proofs.proof_transaction_data", params) do |resp| if resp.success? yield NativeLibResponseResult.new( result: "" ) else yield resp end end end |