Sha256: 9e38d198d9109272c40df55abedcdee5a682ad1888ca0f27e7d6fcfe688cf1c8
Contents?: true
Size: 933 Bytes
Versions: 13
Compression:
Stored size: 933 Bytes
Contents
require 'spec_helper' describe Etherscanio::Api do describe 'account_txlistinternal' do subject { Etherscanio::Api.new(apikey).account_txlistinternal(address, startblock, endblock, sort) } context 'no paging' do let(:apikey) { 'YourApiKeyToken' } let(:address) { '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae' } let(:startblock) { 0 } let(:endblock) { 99_999_999 } let(:sort) { 'desc' } it { is_expected.to be_a(Object) } end context 'paging' do subject { Etherscanio::Api.new(apikey).account_txlistinternal(address, startblock, endblock, sort, page, offset) } let(:apikey) { 'YourApiKeyToken' } let(:address) { '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae' } let(:startblock) { 0 } let(:endblock) { 99_999_999 } let(:sort) { 'desc' } let(:page) { 1 } let(:offset) { 10 } it { is_expected.to be_a(Object) } end end end
Version data entries
13 entries across 13 versions & 2 rubygems