# transactionFieldValidators

# Functions

from(senderAddr)boolean

Test sender field for a valid Algorand address

fee(txnFee)boolean

Test for a valid transaction fee

firstRound(firstValid)boolean

Test for a valid first round

lastRound(lastValid)boolean

Test for a valid first round

note(note)boolean

Test for a valid note field

genesisID(genesisId)boolean

Test for a valid genesis id

genesisHash(genesisHash)boolean

Test for a valid genesis hash

group(genesisHash)boolean

Test for a valid group

type(type)boolean

Test for a valid transaction type

to(receiverAddr)boolean

Test for a valid transaction receiver account

amount(txnAmount)boolean

Test for a valid algo amount to be sent

closeRemainderTo(address)boolean

Test for a valid algo amount to be sent

# from(senderAddr) ⇒ boolean

Test sender field for a valid Algorand address

Kind: global function
Category: All Transactions

Param Type
senderAddr string

# fee(txnFee) ⇒ boolean

Test for a valid transaction fee

Kind: global function
Category: All Transactions

Param Type
txnFee number

# firstRound(firstValid) ⇒ boolean

Test for a valid first round

Kind: global function
Category: All Transactions

Param Type
firstValid number

# lastRound(lastValid) ⇒ boolean

Test for a valid first round

Kind: global function
Category: All Transactions

Param Type
lastValid number

# note(note) ⇒ boolean

Test for a valid note field

Kind: global function
Category: All Transactions

Param Type
note string

# genesisID(genesisId) ⇒ boolean

Test for a valid genesis id

Kind: global function
Category: All Transactions

Param Type
genesisId string

# genesisHash(genesisHash) ⇒ boolean

Test for a valid genesis hash

Kind: global function
Category: All Transactions

Param Type
genesisHash string

# group(genesisHash) ⇒ boolean

Test for a valid group

Kind: global function
Category: All Transactions

Param Type
genesisHash string

# type(type) ⇒ boolean

Test for a valid transaction type

Kind: global function
Category: All Transactions

Param Type
type string

# to(receiverAddr) ⇒ boolean

Test for a valid transaction receiver account

Kind: global function
Category: Payment Transactions

Param Type
receiverAddr string

# amount(txnAmount) ⇒ boolean

Test for a valid algo amount to be sent

Kind: global function
Category: Payment Transactions

Param Type
txnAmount number

# closeRemainderTo(address) ⇒ boolean

Test for a valid algo amount to be sent

Kind: global function
Category: Payment Transactions

Param Type
address number